Skip to content

docs: enumerate conflict validation predicates (companion to RFC-0003) - #20

Open
rexminnis wants to merge 2 commits into
CTTY:ctty/rewrite-newfrom
rexminnis:drls/rfc-0003-conflict-predicates
Open

rexminnis wants to merge 2 commits into
CTTY:ctty/rewrite-newfrom
rexminnis:drls/rfc-0003-conflict-predicates

Conversation

@rexminnis

Copy link
Copy Markdown

Follows the discussion on apache#2620: the RFC nails down when and where validation runs (attempt-local, before any I/O) but no longer enumerates the conflict predicates the previous document covered (JanKaul's flag). This adds them as a companion document, offered in this comment:

  • one row per predicate, mapped to its Java MergingSnapshotProducer anchor so nothing from the previous document is lost
  • inputs classified with the RFC's own lifetime terms — action config (preserve) vs base-dependent (recompute)
  • the shared window/validation-history machinery, with reachability and format-version gates promoted to explicit invariants
  • operation → predicate map, with isolation levels expressed as toggle presets
  • a forced-conflict test per predicate, instantiating invariant 10's "fails validation and wrote no metadata files"

The apply-time missing-delete-paths check is included as P8 — under this RFC it lands in the same attempt-local, pre-I/O place as the validate-time predicates, which is also where the fail_missing_delete_paths addition from apache#2620 fits.

Happy to fold this into 0003_stateful_transaction.md as an appendix instead of a separate file if that's preferred.

The RFC fixes when validation runs and what survives a rebase; this
companion enumerates the predicates themselves, mapped to their Java
MergingSnapshotProducer anchors, with inputs classified by the RFC's
state-lifetime terms and a forced-conflict test per predicate.

This branch has not been deployed

No deployments
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.

1 participant