Skip to content

Conversation

@sodonnel
Copy link
Contributor

What changes were proposed in this pull request?

Rename rewriteGeneration to expectedDataGeneration.

This future proofs the name, so we can potentially have expectedMetaGeneration in the future.

It also better describes what the field is for - when passed, it indicates the existing key is "expected" to have a Data Generation of the given value, whether it is for read, write (potential future use cases) or re-write (the current use case).

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10857

How was this patch tested?

Just a name change so existing tests cover this.

@adoroszlai adoroszlai merged commit 3c8398b into apache:HDDS-10656-atomic-key-overwrite May 21, 2024
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.

2 participants