[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475580#comment-17475580 ] Michael Semb Wever commented on CASSANDRA-17214: 2. started with https://lists.apache.org/thread/mhkcok55rrgj62khobx5kjgxpy9tcfp9 > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475358#comment-17475358 ] Michael Semb Wever commented on CASSANDRA-17214: 1. done with [2aea316f85e68b4e4739b61260faf5ed91552d5f|https://github.com/apache/cassandra-in-jvm-dtest-api/commit/2aea316f85e68b4e4739b61260faf5ed91552d5f] > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475316#comment-17475316 ] Michael Semb Wever commented on CASSANDRA-17214: +1 steps to get this out are # merge dtest-api patch # cut and vote on dtest-api release # remove throwaway commit, and merge in-tree patch > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475300#comment-17475300 ] Jacek Lewandowski commented on CASSANDRA-17214: --- I have analyzed the results - actually, given only distributed tests are touched, no other tests could ever be affected by this patch. The only failing distributed tests are from {{CompactionStorageUpgradeTest}}, but those are flaky on trunk as well. Therefore I conclude it does not introduce new failures. > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475246#comment-17475246 ] Jacek Lewandowski commented on CASSANDRA-17214: --- yes, will do > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17475243#comment-17475243 ] Michael Semb Wever commented on CASSANDRA-17214: [~jlewandowski] , could you double check please that the additional test failures compared to trunk are not related to this patch. > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17474687#comment-17474687 ] Michael Semb Wever commented on CASSANDRA-17214: [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1362/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1362/] > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17474603#comment-17474603 ] Michael Semb Wever commented on CASSANDRA-17214: bq. Thank you Michael Semb Wever I merged you PR to my branch - is that ok? Yup! Feel free then to squash the squash. (And remember to throwaway the throwaway - it's only for CI :) > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17474489#comment-17474489 ] Jacek Lewandowski commented on CASSANDRA-17214: --- Thank you [~mck] I merged you PR to my branch - is that ok? > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17473156#comment-17473156 ] Michael Semb Wever commented on CASSANDRA-17214: Uploaded as https://repository.apache.org/content/repositories/snapshots/org/apache/cassandra/dtest-api/0.0.12-SNAPSHOT/dtest-api-0.0.12-20220111.195317-1.jar Added suggestions in https://github.com/jacek-lewandowski/cassandra/pull/1 CI [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1360/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch/1360/] > 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 > Fix For: 4.x > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17471522#comment-17471522 ] Michael Semb Wever commented on CASSANDRA-17214: Looks good to me. To put this through CI the snapshot of dtest-api will need to be deployed to ASF's staging maven repo, and the in-tree patch to have an added "throwaway" commit including the ASF's staging maven repo. > 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
[jira] [Commented] (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: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