Skip to main content

Module merge

Module merge 

Source
Expand description

Dataset merge/conflict: retain concurrent alternatives (SVC-01.10 partial).

Membership and revocation are independent of LWW and wall-clock. A Lamport field on an alternative is a hint only and never selects a winner. Two non-revoked concurrent alternatives remain both retained; decide reports QdnfError::Conflict so the caller keeps them. Packages remain open.

Structs§

Alternate
One concurrent alternative for a logical key. lamport is never authority.
MergeSet
Up to MAX_ALTERNATIVES concurrent alternatives for one logical key.

Enums§

MergeProfile
Accepted merge/conflict profile for one logical key.

Constants§

MAX_ALTERNATIVES

Functions§

decide
Apply profile to set. LWW/wall-clock never drop a non-revoked concurrent alt.
lww_overrides_revocation
Last-writer-wins cannot override membership or revocation authority.
wall_clock_is_membership_authority
Wall-clock ordering is not membership authority.