[ https://issues.apache.org/jira/browse/CASSANDRA-14878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ekaterina Dimitrova updated CASSANDRA-14878: -------------------------------------------- Test and Documentation Plan: ||Branch|| |[trunk-14878|https://github.com/ekaterinadimitrova2/cassandra/tree/trunk-14878]| |[cassandra-3.0-14878|https://github.com/ekaterinadimitrova2/cassandra/tree/cassandra-3.0-14878]| |[cassandra-3.11-14878|https://github.com/ekaterinadimitrova2/cassandra/tree/cassandra-3.11-14878]| |[DTest|https://github.com/ekaterinadimitrova2/cassandra-dtest/pulls]| Status: Patch Available (was: In Progress) > Race condition when setting bootstrap flags > ------------------------------------------- > > Key: CASSANDRA-14878 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14878 > Project: Cassandra > Issue Type: Bug > Components: Local/Startup and Shutdown > Reporter: Sergio Bossa > Assignee: Ekaterina Dimitrova > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.x > > Attachments: Screen Shot 2020-01-13 at 1.03.19 PM.png, Screen Shot > 2020-01-13 at 1.03.41 PM.png, Screen Shot 2020-01-13 at 1.04.05 PM.png, > Screen Shot 2020-01-13 at 1.04.29 PM.png, Screen Shot 2020-01-13 at 1.04.55 > PM.png, Screen Shot 2020-01-13 at 12.41.41 PM.png, Screen Shot 2020-01-13 at > 12.42.47 PM.png, Screen Shot 2020-01-13 at 12.43.28 PM.png, Screen Shot > 2020-01-13 at 12.44.36 PM.png, Screen Shot 2020-01-13 at 12.48.24 PM.png, > Screen Shot 2020-01-13 at 12.48.35 PM.png, Screen Shot 2020-01-13 at 12.48.49 > PM.png > > > {{StorageService#bootstrap()}} is supposed to wait for bootstrap to finish, > but Guava calls the future listeners > [after|https://github.com/google/guava/blob/ec2dedebfa359991cbcc8750dc62003be63ec6d3/guava/src/com/google/common/util/concurrent/AbstractFuture.java#L890] > unparking its waiters, which causes a race on when the > {{bootstrapFinished()}} will be executed, making it non-deterministic. -- 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