RecoveryUnit SnapshotIDs do not need to increment atomic for each snapshot

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution NAMER
    • Execution NAMR Team 2023-10-16, Execution Team 2023-10-30, Execution Team 2023-11-13, Execution Team 2023-11-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We use the RecoveryUnit snapshot ID for comparison purposes to tell us two things:

      • Has my snapshot changed on the same RecoveryUnit? (e..g normal yielding)
      • Has my snapshot changed from a different RecoveryUnit? (e.g. with getMore)

      We need to maintain that snapshot IDs are globally unique, but instead of incrementing the atomic for every snapshot, we can just have a globally unique RecoveryUnit ID and a locally unique snapshot counter for each RecoveryUnit. This should be sufficient to reduce contention on the Snapshot ID atomic and still maintains uniqueness.

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: