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

Sam Tunnicliffe updated CASSANDRA-18984:
----------------------------------------
          Fix Version/s: NA
    Source Control Link: 
https://github.com/apache/cassandra/commit/0d00d27d1925ca3b54710e71cc6592db9e41bbe1
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Simplify scope-local retries using Entry.Id
> -------------------------------------------
>
>                 Key: CASSANDRA-18984
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18984
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Transactional Cluster Metadata
>            Reporter: Sam Tunnicliffe
>            Assignee: Alex Petrov
>            Priority: Normal
>             Fix For: NA
>
>         Attachments: ci_summary.html
>
>
> If a node submits a commit request to the CMS which succeeds but doesn't 
> receive the response, it will automatically retry. However, the CMS node 
> handling the resubmission most likely reject it as transformations are 
> generally not idempotent. The submitter will need to then handle that 
> rejection of the resubmission, which can currently mean inspecting the 
> ClusterMetadata to see if the expected effects of the transformation are 
> present. By using the entry id, the CMS node can identify the resubmission as 
> such and return the same (success) response it sent (or should have sent) the 
> first time.
> Implementation can be found in:
> https://github.com/beobal/cassandra/commit/c3c33ea1430e1bd14552f68de75bb9c4166fc986
> CI summary results attached. For right now, we've only been foccussing on 
> unit tests, in-jvm & python dtests, so the failures in other suites are to be 
> expected. Unfortunately, the archive containing the detailed results is too 
> large to attach as a single file, so will look into the best way to work 
> around that.
> The intention is to fix all suites before merging the feature branch.
> ||Suite||Total||Passed||Skipped||Failed||Errors||
> |jvm dtest|1508|1465|24|8|11|
> |python dtest|1083|790|262|28|3|
> |unit|12082|12006|61|6|9|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to