[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ZOOKEEPER-4909:
--------------------------------------
    Labels: pull-request-available  (was: )

> When a spurious wakeup occurs, the client’s waiting time may exceed 
> requestTimeout.
> -----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4909
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4909
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: luozongle
>            Priority: Trivial
>              Labels: pull-request-available
>         Attachments: Snipaste_2025-03-18_21-35-42.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I noticed that a while loop is used here to avoid spurious wakeups. I think 
> we should calculate the total sleep time to prevent it from exceeding 
> requestTimeout too much in case of spurious wakeups and the server not 
> responding for a long time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to