You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AIOZK transaction using AIOZK client causes the following timeout exception after approx. 30 seconds, when there are multiple zookeeper nodes (i. e. files) committed with at least one larger than 450 lines separated by \n. The setting of both session and read timeouts in the AIOZK client has no impact.
Exception
Client:
30-Mar-2022 08:21:52.183376 ERROR aiozk.session Send exception: ('lm1', 12181)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiozk/session.py", line 217, in send
zxid, response = await self.conn.send(request, xid=self.xid)
aiozk.exc.TimeoutError: ('lm1', 12181)
...
File "/opt/lmiocmd/commander/library/service.py", line 228, in load_library
await transaction.commit()
File "/usr/local/lib/python3.7/site-packages/aiozk/transaction.py", line 117, in commit
response = await self.client.send(self.request)
File "/usr/local/lib/python3.7/site-packages/aiozk/client.py", line 101, in send
response = await self.session.send(request)
File "/usr/local/lib/python3.7/site-packages/aiozk/session.py", line 233, in send
raise e
File "/usr/local/lib/python3.7/site-packages/aiozk/session.py", line 217, in send
zxid, response = await self.conn.send(request, xid=self.xid)
aiozk.exc.TimeoutError: ('lm1', 12181)
ZooKeeper Server Logs:
[2022-03-30 08:21:39,824] INFO Processing srvr command from /172.22.0.13:53912 (org.apache.zookeeper.server.NIOServerCnxn)
[2022-03-30 08:21:42,521] WARN Exception causing close of session 0x100d77f221515ee: Len error 1093084 (org.apache.zookeeper.server.NIOServerCnxn)
[2022-03-30 08:21:52,155] INFO Processing srvr command from /172.22.0.13:54014 (org.apache.zookeeper.server.NIOServerCnxn)
[2022-03-30 08:21:52,166] INFO Revalidating client: 0x100d77f221515ee (org.apache.zookeeper.server.quorum.Learner)
[2022-03-30 08:21:52,285] WARN Exception causing close of session 0x100d77f221515ee: Connection reset by peer (org.apache.zookeeper.server.NIOServerCnxn)
How to reproduce
Use aiozk transaction in a following way to upload data read from files (FILE_DATA and FILE_PATH):
Description
AIOZK transaction using AIOZK client causes the following timeout exception after approx. 30 seconds, when there are multiple zookeeper nodes (i. e. files) committed with at least one larger than 450 lines separated by
\n
. The setting of both session and read timeouts in the AIOZK client has no impact.Exception
Client:
ZooKeeper Server Logs:
How to reproduce
Use aiozk transaction in a following way to upload data read from files (FILE_DATA and FILE_PATH):
There should be at least
660
files with at least one exceeding approx.460
lines added to to the transaction.Afterwards the transaction is to be committed:
The exception is caused by this
await transaction.commit()
line.Environment
ZooKeeper Cluster with 3 nodes running in Docker Container:
Memory:
CPU:
64 cores
The text was updated successfully, but these errors were encountered: