[ 
https://issues.apache.org/jira/browse/CASSANDRA-14878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

C. Scott Andreas updated CASSANDRA-14878:
-----------------------------------------
    Component/s: Lifecycle

> Race condition when setting bootstrap flags
> -------------------------------------------
>
>                 Key: CASSANDRA-14878
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14878
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Lifecycle
>            Reporter: Sergio Bossa
>            Assignee: Sergio Bossa
>            Priority: Major
>             Fix For: 3.0.x, 3.11.x, 4.x
>
>
> {{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
(v7.6.3#76005)

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

Reply via email to