Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
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
Description
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.