Skip to content

CPR Memory Fence - #35

Merged
Yi Shan (acmshanyi) merged 1 commit into
mainfrom
shayi/cpr_handshake_mem_fence
Jul 29, 2026
Merged

CPR Memory Fence#35
Yi Shan (acmshanyi) merged 1 commit into
mainfrom
shayi/cpr_handshake_mem_fence

Conversation

@acmshanyi

Copy link
Copy Markdown
Contributor

Two memory fences are added to prevent memory reordering that break the invariant assumed by CPR snapshot. This is a cheaper way to restore consistency than applying sequential consistency to all atomic operations.

@acmshanyi Yi Shan (acmshanyi) linked an issue Jul 28, 2026 that may be closed by this pull request
@acmshanyi
Yi Shan (acmshanyi) merged commit 3998ce8 into main Jul 29, 2026
4 checks passed
@acmshanyi
Yi Shan (acmshanyi) deleted the shayi/cpr_handshake_mem_fence branch July 29, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing SeqCst memory barrier in CPR phase handshake

1 participant