[
https://issues.apache.org/jira/browse/CASSANDRA-17611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534489#comment-17534489
]
Jon Meredith commented on CASSANDRA-17611:
------------------------------------------
Sorry for the regression.
I think this is due to a difference in how the messaging service shuts down. In
3.0, {{MessagingService.instance().shutdown()}} is called before the
{{gossipStage}} is shut down, however it looks like it only shuts down outgoing
TCP connections, not incoming so it can keep receiving messages. It is
probably less likely to get the other types of mutation as the Gossiper is
stopped, announcing shutdown to connected hosts. Sadly, shutting all instances
down during a test is more likely to hit this path than regular operation.
I think ignoring the exception pre-4.0 is fine.
> Fix replace_address_test.TestReplaceAddress.test_fail_when_seed
> ---------------------------------------------------------------
>
> Key: CASSANDRA-17611
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17611
> Project: Cassandra
> Issue Type: Bug
> Components: CI
> Reporter: Ekaterina Dimitrova
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 3.0.x, 3.11.x
>
>
> Seen
> [with|https://ci-cassandra.apache.org/job/Cassandra-3.11/349/testReport/dtest.replace_address_test/TestReplaceAddress/test_fail_when_seed/]
> and [without
> vnode|https://ci-cassandra.apache.org/job/Cassandra-3.11/348/testReport/dtest-novnode.replace_address_test/TestReplaceAddress/test_fail_when_seed/]:
> {code:java}
> Error Message
> test teardown failure
> Stacktrace
> Unexpected error found in node logs (see stdout for full details). Errors:
> [ERROR [MessagingService-Incoming-/127.0.0.1] 2022-04-28 22:04:36,765
> CassandraDaemon.java:244 - Exception in thread
> Thread[MessagingService-Incoming-/127.0.0.1,5,main]
> java.util.concurrent.RejectedExecutionException: ThreadPoolExecutor has shut
> down at
> org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor$1.rejectedExecution(DebuggableThreadPoolExecutor.java:58)
> at
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
> at
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
> at
> org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.execute(DebuggableThreadPoolExecutor.java:148)
> at
> org.apache.cassandra.net.MessagingService.receive(MessagingService.java:1035)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:215)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:195)
> at
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:98),
> ERROR [MessagingService-Incoming-/127.0.0.1] 2022-04-28 22:04:36,765
> CassandraDaemon.java:244 - Exception in thread
> Thread[MessagingService-Incoming-/127.0.0.1,5,main]
> java.util.concurrent.RejectedExecutionException: ThreadPoolExecutor has shut
> down at
> org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor$1.rejectedExecution(DebuggableThreadPoolExecutor.java:58)
> at
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
> at
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
> at
> org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.execute(DebuggableThreadPoolExecutor.java:148)
> at
> org.apache.cassandra.net.MessagingService.receive(MessagingService.java:1035)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:215)
> at
> org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:195)
> at
> org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:98)]
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]