Skip to content

Comments

[Spark] Add conflict checking for feature additions to protocol#6106

Open
itsbilal wants to merge 2 commits intodelta-io:masterfrom
itsbilal:protocol-changes-conflict-checking
Open

[Spark] Add conflict checking for feature additions to protocol#6106
itsbilal wants to merge 2 commits intodelta-io:masterfrom
itsbilal:protocol-changes-conflict-checking

Conversation

@itsbilal
Copy link
Contributor

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Previously, we only failed on feature additions to the protocol if that feature was not understood by a losing transaction's writer. This change updates the conflict checker to fail on concurrent addition of a feature to the protocol if the presence of that feature in the protocol could have imposed requirements on that write. This increases safety with protocol additions as some features impose requirements on all writes even if the feature isn't explicitly enabled in metadata.

How was this patch tested?

Unit tests

Does this PR introduce any user-facing changes?

Previously, we only failed on feature additions to the protocol if that
feature was not understood by a losing transaction's writer. This change
updates the conflict checker to fail on concurrent addition of a feature
to the protocol if the presence of that feature in the protocol could
have imposed requirements on that write. This increases safety with
protocol additions as some features impose requirements on all writes
even if the feature isn't explicitly enabled in metadata.
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