HBASE-16572 Sync method in RecoverableZooKeeper failed to pass callback function in (Allan Yang)
This commit is contained in:
parent
6f73ef2dff
commit
354706a7d8
|
@ -763,7 +763,7 @@ public class RecoverableZooKeeper {
|
|||
}
|
||||
|
||||
public void sync(String path, AsyncCallback.VoidCallback cb, Object ctx) throws KeeperException {
|
||||
checkZk().sync(path, null, null);
|
||||
checkZk().sync(path, cb, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -199,6 +199,7 @@ import com.google.protobuf.Service;
|
|||
public class HMaster extends HRegionServer implements MasterServices, Server {
|
||||
private static final Log LOG = LogFactory.getLog(HMaster.class.getName());
|
||||
|
||||
|
||||
/**
|
||||
* Protection against zombie master. Started once Master accepts active responsibility and
|
||||
* starts taking over responsibilities. Allows a finite time window before giving up ownership.
|
||||
|
|
Loading…
Reference in New Issue