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

Jon Meredith commented on CASSANDRA-15968:
------------------------------------------

I did a second round.

In the trunk version, after the MessagingService rewrite, can you reuse the 
existing {{isShuttingDown}} instead of introducing a new one? I don't really 
like resetting that in {{listen()}} unconditionally, especially if it's just to 
handle some test code. What do you think about adding something like 
{{unsafeResetListen}} if you *really* need to be able to do that?

> nodetool drain fails in jvm dtest
> ---------------------------------
>
>                 Key: CASSANDRA-15968
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15968
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0-beta
>
>
> Drain fails since MessagingService doesn’t expect to be shutdown twice.
> {code}
> Caused by: java.lang.AssertionError
>       at 
> org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:766)
>       at 
> org.apache.cassandra.distributed.impl.Instance.lambda$parallelRun$28(Instance.java:805)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to