[ https://issues.apache.org/jira/browse/CASSANDRA-16689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363847#comment-17363847 ]
Brandon Williams edited comment on CASSANDRA-16689 at 6/15/21, 6:50 PM: ------------------------------------------------------------------------ Added an clearUnsafe to Gossiper similar to TMD [here|https://github.com/driftx/cassandra/tree/CASSANDRA-16689] that allows us to pass the [10k test|https://app.circleci.com/pipelines/github/driftx/cassandra/152/workflows/4d317e35-ed5a-4ae1-a7cd-1b265afe149c/jobs/1287]. Given how many times I've seen this kind of problem with just ring delay alone, I almost added it to TMD.uclearUnsafe since if you're clearing that, you probably want to clear the gossiper too, but I didn't want to make a large sweeping change. was (Author: brandon.williams): Added an unsafeClear to Gossiper similar to TMD [here|https://github.com/driftx/cassandra/tree/CASSANDRA-16689] that allows us to pass the [10k test|https://app.circleci.com/pipelines/github/driftx/cassandra/152/workflows/4d317e35-ed5a-4ae1-a7cd-1b265afe149c/jobs/1287]. Given how many times I've seen this kind of problem with just ring delay alone, I almost added it to TMD.unsafeClear since if you're clearing that, you probably want to clear the gossiper too, but I didn't want to make a large sweeping change. > Flaky LeaveAndBootstrapTest > --------------------------- > > Key: CASSANDRA-16689 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16689 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Berenguer Blasi > Assignee: Brandon Williams > Priority: Normal > Fix For: 4.0-rc2, 4.0, 4.0-rc, 4.x > > > Failing in a circle run > [here|https://app.circleci.com/pipelines/github/bereng/cassandra/309/workflows/a645b956-dcd7-431e-b109-7857af3c523f/jobs/2937] > {noformat} > Testcase: > testStateJumpToNormal(org.apache.cassandra.service.LeaveAndBootstrapTest): > Caused an ERROR > [junit-timeout] null > [junit-timeout] java.lang.NullPointerException > [junit-timeout] at > org.apache.cassandra.service.StorageService.updatePeerInfo(StorageService.java:2418) > [junit-timeout] at > org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:2756) > [junit-timeout] at > org.apache.cassandra.service.StorageService.onChange(StorageService.java:2299) > [junit-timeout] at > org.apache.cassandra.Util.createInitialRing(Util.java:236) > [junit-timeout] at > org.apache.cassandra.service.LeaveAndBootstrapTest.testStateJumpToNormal(LeaveAndBootstrapTest.java:550) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org