HBASE-16572 Sync method in RecoverableZooKeeper failed to pass callback function in (Allan Yang)
This commit is contained in:
parent
7363a76660
commit
e9cfbfd107
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -196,6 +196,7 @@ import org.mortbay.jetty.servlet.Context;
|
||||
public class HMaster extends HRegionServer implements MasterServices {
|
||||
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…
x
Reference in New Issue
Block a user