You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2019/12/09 18:08:00 UTC

[jira] [Commented] (CASSANDRA-14878) Race condition when setting bootstrap flags

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

Ekaterina Dimitrova commented on CASSANDRA-14878:
-------------------------------------------------

New d-test added to test the patch. Pull request for the D-Test could be found [here|https://github.com/ekaterinadimitrova2/cassandra-dtest/pull/1] Patch implemented but there is a bug with the stress tool on versions 3.0 and 3.11 which prevents me from smooth running the d-tests.

Ongoing investigation of the issue.  

Checking whether this is related to this issue - [CASSANDRA-11628|https://issues.apache.org/jira/browse/CASSANDRA-11628?jql=text%20~%20%22Error%3A%20Could%20not%20find%20or%20load%20main%20class%20org.apache.cassandra.stress.Stress%22]  The patch is there but still have the same errors.

Everything is fine with the trunk version. 

> 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
>
>
> {{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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org