[
https://issues.apache.org/jira/browse/CASSANDRA-16721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Caleb Rackliffe updated CASSANDRA-16721:
----------------------------------------
Fix Version/s: (was: 4.0.x)
(was: 4.x)
4.1
4.0.1
Since Version: 4.0.0
Source Control Link:
https://github.com/apache/cassandra/commit/585bc692918deea2b8c4b1098ee7e7478881f138
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Committed in {{cassandra-4.0}} as
https://github.com/apache/cassandra/commit/585bc692918deea2b8c4b1098ee7e7478881f138
and merged up via
https://github.com/apache/cassandra/commit/33979e3c916b2006e75a042fa4c806364dbbe5c1
> Repaired data tracking on a read coordinator is susceptible to races between
> local and remote requests
> ------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16721
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16721
> Project: Cassandra
> Issue Type: Bug
> Components: Consistency/Coordination
> Reporter: Sam Tunnicliffe
> Assignee: Caleb Rackliffe
> Priority: Normal
> Fix For: 4.0.1, 4.1
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> At read time on a coordinator which is also a replica, the local and remote
> reads can race such that the remote responses are received while the local
> read is executing. If the remote responses are mismatching, triggering a
> {{DigestMismatchException}} and subsequent round of full data reads and read
> repair, the local runnable may find the {{isTrackingRepairedStatus}} flag
> flipped mid-execution. If this happens after a certain point in execution,
> it would mean
> that the RepairedDataInfo instance in use is the singleton null object
> {{RepairedDataInfo.NULL_REPAIRED_DATA_INFO}}. If this happens, it can lead to
> an NPE when calling {{RepairedDataInfo::extend}} when the local results are
> iterated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]