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

The atomic cache in inconsistent state

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • None
    • None

    Description

      Cache configuration:
      CacheMode - PARTITIONED
      Backups - 1
      RebalanceMode - SYNC
      WriteSynchronizationMode - FULL_ASYNC

      There is a situation when the atomic cache becomes inconsistent.
      There are two nodes: Node_1 with primary partition and Node_2 with backup partition.
      1. Node_3 is started;
      2. Before a rebalance of the partition from Node_1 to Node_3 is occurred new value is put to the partition on Node_1;
      3. Node_1 creates a future for a propagating new value to Node_2 and Node_3;
      4. Node_3 gets new value from Node_1 in the process a rebalance;
      5. Node_1 is stopped;
      6. The future from step 3 is failed because of step 5.
      Now we have Node_3 with the new value and Node_2 with old value.

      We need to find out the way to fix this inconsistent state and implement one.

      The reproducer is in the attach.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            garus.d.g Denis Garus

            Dates

              Created:
              Updated:

              Slack

                Issue deployment