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

Kezhu Wang updated ZOOKEEPER-4909:
----------------------------------
    Issue Type: Bug  (was: Improvement)

> 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: Bug
>          Components: java client
>            Reporter: luozongle
>            Assignee: luozongle
>            Priority: Trivial
>              Labels: pull-request-available
>         Attachments: Snipaste_2025-03-18_21-35-42.png
>
>          Time Spent: 1h 20m
>  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