Joy-2000 opened a new pull request, #19459:
URL: https://github.com/apache/hudi/pull/19459
### Describe the issue this Pull Request addresses
<!-- Either describe the issue inline here with motivation behind the
changes
(or) link to an issue by including `Closes #<issue-number>` for
context.
If this PR includes changes to the storage format, public APIs,
or has breaking changes, use `!` (e.g., feat!: ...) -->
The config table in `concurrency_control.md` documented the default value of
`hoodie.write.lock.provider` as `ZookeeperBasedLockProvider (Optional)`. This
became stale after the code default changed twice and never got updated, so the
docs have been misleading users since the 1.0.0 release.
This PR aligns the tables with the actual code default in
`HoodieLockConfig.LOCK_PROVIDER_CLASS_NAME` and with the auto-generated
`configurations.md`.
### Summary and Changelog
<!-- Short, plain-English summary of what users gain or what changed in
behavior.
Followed by a detailed log of all the changes. Highlight if any code
was copied. -->
Updated the config-table cell for `hoodie.write.lock.provider` in 6 files:
| File | Before | After |
|---|---|---|
| `website/docs/concurrency_control.md` | `ZookeeperBasedLockProvider
(Optional)` | `N/A **(Required)**` |
| `website/versioned_docs/version-1.0.0/concurrency_control.md` |
`ZookeeperBasedLockProvider (Optional)` | `InProcessLockProvider (Optional)` |
| `website/versioned_docs/version-1.0.1/concurrency_control.md` |
`ZookeeperBasedLockProvider (Optional)` | `InProcessLockProvider (Optional)` |
| `website/versioned_docs/version-1.0.2/concurrency_control.md` |
`ZookeeperBasedLockProvider (Optional)` | `N/A **(Required)**` |
| `website/versioned_docs/version-1.1.1/concurrency_control.md` |
`ZookeeperBasedLockProvider (Optional)` | `N/A **(Required)**` |
| `website/versioned_docs/version-1.2.0/concurrency_control.md` |
`ZookeeperBasedLockProvider (Optional)` | `N/A **(Required)**` |
- **1.0.0 / 1.0.1** → `InProcessLockProvider (Optional)`, matching the code
default in those releases (and the auto-generated `configurations.md`).
- **1.0.2 and later (incl. current docs)** → `N/A **(Required)**`, since
there is no default and the provider must be set explicitly.
### Impact
none
<!-- Describe any public API or user-facing feature change or any
performance impact. -->
### Risk Level
none
<!-- Accepted values: none, low, medium or high. Other than `none`, explain
the risk.
If medium or high, explain what verification was done to mitigate the
risks. -->
### Documentation Update
concurrency_control page on hudi website
<!-- Describe any necessary documentation update if there is any new
feature, config, or user-facing change. If not, put "none".
- The config description must be updated if new configs are added or the
default value of the configs are changed.
- Any new feature or user-facing change requires updating the Hudi website.
Please follow the
[instruction](https://hudi.apache.org/contribute/developer-setup#website)
to make changes to the website. -->
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Enough context is provided in the sections above
- [ ] Adequate tests were added if applicable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]