mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-26 13:10:38 +00:00
Have follower notice lost leader
This will mitigate period during which requests hang instead of error.
This commit is contained in:
@@ -510,6 +510,8 @@ def follow_channel(channel):
|
||||
if 'xid' in rpc and rpc['xid']:
|
||||
_pendingchangesets[rpc['xid']].send()
|
||||
msg = channel.recv(8)
|
||||
# mark the connection as broken
|
||||
cfgleader = True
|
||||
|
||||
def add_collective_member(name, address, fingerprint):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user