Skip to content

Commit

Permalink
emitSDStatusActiveUpdateIntentAndWriteEvents updated
Browse files Browse the repository at this point in the history
  • Loading branch information
brycezhongqing committed Oct 15, 2024
1 parent 4b95c96 commit a003aee
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,7 @@ public void onError(Throwable e)
@Override
public void onSuccess(None result)
{
if (_server instanceof ZooKeeperServer)
{
emitSDStatusActiveUpdateIntentAndWriteEvents(_cluster, false, true, _markDownStartAtRef.get());
}
emitSDStatusActiveUpdateIntentAndWriteEvents(_cluster, false, true, _markDownStartAtRef.get());
_log.info("markDown for uri = {} succeeded.", _uri);
// Note that the pending callbacks we see at this point are
// from the requests that are filed before us because zookeeper
Expand Down

0 comments on commit a003aee

Please sign in to comment.