Jacek Lewandowski created CASSANDRA-17214:
---------------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]