cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14742) Race Condition in batchlog replica collection
Date Thu, 27 Sep 2018 08:48:00 GMT


Alex Petrov commented on CASSANDRA-14742:

Thank you, have addressed all three comments and took a  liberty to introduce {{localDatacenter}}
and {{localRack}} shortcuts.

> Race Condition in batchlog replica collection
> ---------------------------------------------
>                 Key: CASSANDRA-14742
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
> When we collect nodes for it in {{StorageProxy#getBatchlogReplicas}}, we already filter
out down replicas; subsequently they get picked up and taken for liveAndDown.
> There's a possible race condition due to picking tokens from token metadata twice (once
in {{StorageProxy#getBatchlogReplicas}} and second one in {{ReplicaPlan#forBatchlogWrite}})

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message