[ 
https://issues.apache.org/jira/browse/CASSANDRA-17214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460462#comment-17460462
 ] 

Jacek Lewandowski commented on CASSANDRA-17214:
-----------------------------------------------

[PR for Cassandra|https://github.com/apache/cassandra/pull/1367]
[PR for DTest API|https://github.com/apache/cassandra-in-jvm-dtest-api/pull/30]


> Cannot restart a node when there are other nodes being down in in-jvm dtest 
> framework
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17214
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17214
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>
> Such scenario:
> {code:java}
>     @Test
>     public void test() throws Exception
>     {
>         try (Cluster cluster = 
> init(Cluster.build(2).withDataDirCount(1)).start()))
>         {
>             FBUtilities.waitOnFuture(cluster.get(2).shutdown());
>             FBUtilities.waitOnFuture(cluster.get(1).shutdown());
>             cluster.get(1).startup();
>             cluster.get(2).startup();
>         }
>     }
> {code}
> throws
> {noformat}
> java.lang.IllegalStateException: Can't use shut down instances, delegate is 
> null
>       at 
> org.apache.cassandra.distributed.impl.AbstractCluster$Wrapper.delegate(AbstractCluster.java:210)
>       at 
> org.apache.cassandra.distributed.impl.DelegatingInvokableInstance.getMessagingVersion(DelegatingInvokableInstance.java:90)
>       at 
> org.apache.cassandra.distributed.action.GossipHelper.unsafeStatusToNormal(GossipHelper.java:95)
>       at 
> org.apache.cassandra.distributed.impl.Instance.lambda$null$10(Instance.java:640)
> {noformat}
> when we do not use {{Gossiper}} feature flag.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to