You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2018/04/25 14:32:00 UTC

[jira] [Updated] (ZOOKEEPER-3026) ReadOnlyModeTest is using Thread deprecated API.

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

Patrick Hunt updated ZOOKEEPER-3026:
------------------------------------
    Description: 
Same issue as ZOOKEEPER-2415

 

Suspend and resume are being called on peers (which are subclasses of Thread):
{quote}// if we don't suspend a peer it will rejoin a quorum
 qu.getPeer(1).peer.suspend();

....

// resume poor fellow
 qu.getPeer(1).peer.resume();
{quote}

  was:Same issue as ZOOKEEPER-2415


> ReadOnlyModeTest  is using Thread deprecated API.
> -------------------------------------------------
>
>                 Key: ZOOKEEPER-3026
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3026
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.5.4, 3.6.0, 3.4.12
>            Reporter: Patrick Hunt
>            Assignee: Andor Molnar
>            Priority: Major
>             Fix For: 3.5.4, 3.6.0, 3.4.13
>
>
> Same issue as ZOOKEEPER-2415
>  
> Suspend and resume are being called on peers (which are subclasses of Thread):
> {quote}// if we don't suspend a peer it will rejoin a quorum
>  qu.getPeer(1).peer.suspend();
> ....
> // resume poor fellow
>  qu.getPeer(1).peer.resume();
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)