[
https://issues.apache.org/jira/browse/CASSANDRA-15350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028964#comment-17028964
]
Alex Petrov commented on CASSANDRA-15350:
-----------------------------------------
One more test run before commit:
[CI|https://circleci.com/gh/ifesdjeen/cassandra/tree/cas-exception-changes].
+1 on the patch, thank you for patience.
Committed now to trunk with
[d3b3dcbb353de97220a11f55391babf149410905|https://github.com/apache/cassandra/commit/d3b3dcbb353de97220a11f55391babf149410905].
I was able to slightly simplify the write result unknown exception test as
shown
[here|https://github.com/apache/cassandra/commit/d3b3dcbb353de97220a11f55391babf149410905#diff-94b9f00830fe29802a8a05183d77d207R237-R262].
As a side note, a corresponding ticket probably should be created for tracking
at least the two main drivers (python and Java one, branch 3.6.0, since 4.0
branch breaks compatibility with most of the existing code).
> Separate exceptions for CAS write timeout exceptions caused by contention and
> unkown result
> -------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15350
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15350
> Project: Cassandra
> Issue Type: Improvement
> Components: Feature/Lightweight Transactions
> Reporter: Alex Petrov
> Assignee: Yifan Cai
> Priority: Normal
> Labels: protocolv5, pull-request-available
> Attachments: Utf8StringEncodeBench.java
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Right now, CAS uncertainty introduced in
> https://issues.apache.org/jira/browse/CASSANDRA-6013 is propagating as
> WriteTimeout. One of this conditions it manifests is when there’s at least
> one acceptor that has accepted the value, which means that this value _may_
> still get accepted during the later round, despite the proposer failure.
> Similar problem happens with CAS contention, which is also indistinguishable
> from the “regular” timeout, even though it is visible in metrics correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]