HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li)

This commit is contained in:
tedyu 2015-12-22 06:47:33 -08:00
parent 95a13b51ee
commit 2439f7a688
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class RegionGroupingProvider implements WALProvider {
}
private WAL getWAL(final String group) throws IOException {
WAL log = cached.get(walCacheLock);
WAL log = cached.get(group);
if (null == log) {
// only lock when need to create wal, and need to lock since
// creating hlog on fs is time consuming