HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li)

This commit is contained in:
tedyu 2015-12-22 06:49:14 -08:00
parent 1b66f474b5
commit ff069ef97b
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