-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-9155] Add scaffolding for lock provider using conditional writes #12954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/transaction/lock/models/ConditionalWriteLockData.java:36
- [nitpick] Consider rephrasing the comment for the owner parameter to: 'The UUID of the owner of this lock.'
* @param owner The uuid owner of the owner of this lock.
vinothchandar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor naming comments..
...ommon/src/main/java/org/apache/hudi/client/transaction/lock/ConditionalWriteLockService.java
Outdated
Show resolved
Hide resolved
...ommon/src/main/java/org/apache/hudi/client/transaction/lock/ConditionalWriteLockService.java
Outdated
Show resolved
Hide resolved
...n/src/main/java/org/apache/hudi/client/transaction/lock/models/ConditionalWriteLockData.java
Outdated
Show resolved
Hide resolved
...n/src/main/java/org/apache/hudi/client/transaction/lock/models/ConditionalWriteLockFile.java
Outdated
Show resolved
Hide resolved
...lient-common/src/main/java/org/apache/hudi/client/transaction/lock/models/LockGetResult.java
Outdated
Show resolved
Hide resolved
|
@hudi-bot run azure |
|
@hudi-bot run azure |
1 similar comment
|
@hudi-bot run azure |
|
@hudi-bot run azure |
alexr17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hudi-bot run azure
|
@hudi-bot run azure |
apache#12954) (cherry picked from commit 075a9a4)
apache#12954) (cherry picked from commit 075a9a4)
apache#12954) (cherry picked from commit 075a9a4)
apache#12954) (cherry picked from commit 075a9a4)
apache#12954) (cherry picked from commit 075a9a4)
Change Logs
This is the 1st PR for the
ConditionalWriteLockProvider. This adds an interface,ConditionalWriteLockServiceand various supplemental models. The main lock provider algorithm will be added inConditionalWriteLockProviderhowever we define the contract for our pluggable storage format here to make it clear what is not being abstracted away.Each
ConditionalWriteLockFilepayload will be written to object storage, and we add several helper methods in this PR to ensure the calling storage client apis can serialize and deserialize the payload.See RFC: #12927
Impact
None.
Risk level (write none, low medium or high below)
None.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
None
Contributor's checklist