You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacek Lewandowski (Jira)" <ji...@apache.org> on 2022/01/07 07:50:00 UTC

[jira] [Updated] (CASSANDRA-17214) Cannot restart a node when there are other nodes being down in in-jvm dtest framework

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

Jacek Lewandowski updated CASSANDRA-17214:
------------------------------------------
    Test and Documentation Plan: run tests
                         Status: Patch Available  (was: Open)

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org