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

Brandon Williams commented on CASSANDRA-16238:
----------------------------------------------

bq. but we do see this outside of these classes as well.

I haven't seen those yet.

bq. If I understand you, the call to StorageService.onChange (which calls 
handleStateNormal) happens-after gossip status check, so removes the state?

It's hard to know the exact order but it's clear from the first few log lines 
that the status check and onChange are happening concurrently.

bq. If I understand you correctly, this feels like a race condition where we 
read data not fully committed, which feels like a bug (which is why it was set 
to 0 in the first place). Do I understand you Brandon Williams?

That may be the case as well, but yes you understand my theory thus far.




> Fix flaky jvm-dtests that fail with Unable to contact any seeds
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-16238
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16238
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java
>            Reporter: David Capwell
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0-rc
>
>         Attachments: 16238-archived-failures.txt
>
>
> https://app.circleci.com/pipelines/github/dcapwell/cassandra/745/workflows/1c7e589e-b5af-4a56-b40a-43da424602c7/jobs/4231
> {code}
> test teardown failure
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [ERROR [main] 2020-10-29 17:38:13,808 CassandraDaemon.java:817 - Exception 
> encountered during startup
> java.lang.IllegalStateException: Unable to contact any seeds!
>       at 
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:1601)
>       at 
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:931)
>       at 
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:892)
>       at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:699)
>       at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:635)
>       at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:407)
>       at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:671)
>       at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:795), 
> ERROR [main] 2020-10-29 17:38:13,808 CassandraDaemon.java:817 - Exception 
> encountered during startup
> java.lang.IllegalStateException: Unable to contact any seeds!
>       at 
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:1601)
>       at 
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:931)
>       at 
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:892)
>       at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:699)
>       at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:635)
>       at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:407)
>       at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:671)
>       at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:795)]
> {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