mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix python3 collective leader
rpc needs to be fully binary
This commit is contained in:
parent
b81e5fb3ce
commit
e008932389
@ -591,7 +591,7 @@ def relay_slaved_requests(name, listener, vers):
|
||||
raise Exception("Unexpected loss of node in followers: " + name)
|
||||
sz = struct.unpack('!Q', msg)[0]
|
||||
if sz != 0:
|
||||
rpc = ''
|
||||
rpc = b''
|
||||
while len(rpc) < sz:
|
||||
nrpc = listener.recv(sz - len(rpc))
|
||||
if not nrpc:
|
||||
|
Loading…
Reference in New Issue
Block a user