You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2013/05/06 15:16:16 UTC

[jira] [Updated] (BOOKKEEPER-577) BookieFailureTest uses sync/wait()/notify() incorrectly

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

Ivan Kelly updated BOOKKEEPER-577:
----------------------------------

    Attachment: 0001-BOOKKEEPER-577-BookieFailureTest-uses-sync-wait-noti.patch

Actually, a better solution is to get rid of the loop. If we haven't received a response in 10 seconds we can assume we have failed.
                
> BookieFailureTest uses sync/wait()/notify() incorrectly
> -------------------------------------------------------
>
>                 Key: BOOKKEEPER-577
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-577
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.3.0
>
>         Attachments: 0001-BOOKKEEPER-577-BookieFailureTest-uses-sync-wait-noti.patch, 0001-BOOKKEEPER-577-BookieFailureTest-uses-sync-wait-noti.patch
>
>
> This makes it susceptible to spurious wakeup issues, which seem to hit very regularly on my laptop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira