[jira] [Created] (IGNITE-13873) Milti-cell transaction changes may be not visible (during some time) after the Cellular switch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13873) Milti-cell transaction changes may be not visible (during some time) after the Cellular switch

Anton Vinogradov (Jira)
Anton Vinogradov created IGNITE-13873:
-----------------------------------------

             Summary: Milti-cell transaction changes may be not visible (during some time) after the Cellular switch
                 Key: IGNITE-13873
                 URL: https://issues.apache.org/jira/browse/IGNITE-13873
             Project: Ignite
          Issue Type: Improvement
            Reporter: Anton Vinogradov
            Assignee: Anton Vinogradov


Transactions over some cells may be recovered after the stale data read.

For example:
We have 2 cells, the first contains partitions for k1, second for k2.
Tx with put(k1,v1) and put(k2,v2) started and prepared.
Then node from the first cell, which is the primary for k1, failed.
Currently, the second cell (with key2) may finish the cellular switch before tx recovered and stale data read is possible.

Primaries from the {{tx.transactionNodes()}} should be taken into account instead of the current logic that awaits for all transactions located on nodes who are backups to the failed primary.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)