Skip to content

Commit

Permalink
Merge branch 'anson-remove-connected' of github.com:airbnb/synapse in…
Browse files Browse the repository at this point in the history
…to anson-remove-connected
  • Loading branch information
anson627 committed Jun 14, 2019
2 parents 24fca07 + 85b4883 commit e36883b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/synapse/service_watcher/zookeeper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def zk_connect
log.info "synapse: ZK client skip since last reconnect is too close #{@name}"
return
end

# zookeeper watcher is one-time trigger, and can be lost when disconnected
# https://zookeeper.apache.org/doc/r3.3.5/zookeeperProgrammers.html#ch_zkWatches
# only need re-enable watcher on parent path and children list
Expand Down

0 comments on commit e36883b

Please sign in to comment.