Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13873

Multi-cell transaction changes may be not visible (during some time) after the Cellular switch [Sync-free switch]

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.11
    • None
    • Sync-free switch on node(s) fail implemented. Cellular switch's Multi-cell transaction's recovery HB of node(s) fail fixed.
    • Release Notes Required

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              av Anton Vinogradov
              av Anton Vinogradov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m