Skip to content

Conversation

@alexr17
Copy link
Contributor

@alexr17 alexr17 commented Mar 11, 2025

Change Logs

This is the 1st PR for the ConditionalWriteLockProvider. This adds an interface, ConditionalWriteLockService and various supplemental models. The main lock provider algorithm will be added in ConditionalWriteLockProvider however we define the contract for our pluggable storage format here to make it clear what is not being abstracted away.

Each ConditionalWriteLockFile payload 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

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:L PR with lines of changes in (300, 1000] label Mar 11, 2025
@vinothchandar vinothchandar requested a review from Copilot April 7, 2025 16:04
Copy link

Copilot AI left a 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.

Copy link
Member

@vinothchandar vinothchandar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor naming comments..

@nsivabalan
Copy link
Contributor

@hudi-bot run azure

@alexr17
Copy link
Contributor Author

alexr17 commented Apr 7, 2025

@hudi-bot run azure

1 similar comment
@nsivabalan
Copy link
Contributor

@hudi-bot run azure

@alexr17 alexr17 closed this Apr 7, 2025
@alexr17 alexr17 reopened this Apr 7, 2025
@alexr17
Copy link
Contributor Author

alexr17 commented Apr 7, 2025

@hudi-bot run azure

Copy link
Contributor Author

@alexr17 alexr17 left a 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

@alexr17 alexr17 changed the title [HUDI-9155][RFC-91] Add scaffolding for lock provider using conditional writes [HUDI-9155] Add scaffolding for lock provider using conditional writes Apr 7, 2025
@alexr17
Copy link
Contributor Author

alexr17 commented Apr 7, 2025

@hudi-bot run azure

@hudi-bot
Copy link
Collaborator

hudi-bot commented Apr 7, 2025

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@nsivabalan nsivabalan merged commit 075a9a4 into apache:master Apr 8, 2025
61 checks passed
@alexr17 alexr17 deleted the HUDI-9155/lp-scaffolding branch April 8, 2025 00:30
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 8, 2025
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 9, 2025
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 11, 2025
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 15, 2025
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-1.0.2 size:L PR with lines of changes in (300, 1000]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants