HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li)
This commit is contained in:
parent
1b66f474b5
commit
ff069ef97b
|
@ -185,7 +185,7 @@ class RegionGroupingProvider implements WALProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
private WAL getWAL(final String group) throws IOException {
|
private WAL getWAL(final String group) throws IOException {
|
||||||
WAL log = cached.get(walCacheLock);
|
WAL log = cached.get(group);
|
||||||
if (null == log) {
|
if (null == log) {
|
||||||
// only lock when need to create wal, and need to lock since
|
// only lock when need to create wal, and need to lock since
|
||||||
// creating hlog on fs is time consuming
|
// creating hlog on fs is time consuming
|
||||||
|
|
Loading…
Reference in New Issue