HBASE-2737 CME in ZKW introduced in HBASE-2694 (Karthik Ranganathan via JD)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@956314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5408fc0e7
commit
ebb698fd09
|
@ -396,6 +396,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2725 Shutdown hook management is gone in trunk; restore
|
||||
HBASE-2740 NPE in ReadWriteConsistencyControl
|
||||
HBASE-2752 Don't retry forever when waiting on too many store files
|
||||
HBASE-2737 CME in ZKW introduced in HBASE-2694 (Karthik Ranganathan via JD)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -219,11 +219,11 @@ public class ZooKeeperWrapper implements Watcher {
|
|||
}
|
||||
}
|
||||
|
||||
public void registerListener(Watcher watcher) {
|
||||
public synchronized void registerListener(Watcher watcher) {
|
||||
listeners.add(watcher);
|
||||
}
|
||||
|
||||
public void unregisterListener(Watcher watcher) {
|
||||
public synchronized void unregisterListener(Watcher watcher) {
|
||||
listeners.remove(watcher);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue