leaves12138 opened a new pull request, #11147: URL: https://github.com/apache/paimon/pull/11147
## What changes Rename the writer opt-in from `rest.commit.acquire-lock` to `rest.commit.retry-acquire-lock`. With the new option enabled, each logical commit starts with an optimistic publication attempt and acquires a REST lease when it retries. The writer configuration needs to use the new key. The separate server capability is still configured by `rest.commit.lock-enabled`. Apply the retry policy to ordinary commits, manifest compaction, and Data Evolution row-ID reassignment. The first optimistic attempt and the retry both retain snapshot compare-and-set validation. Non-REST catalog locks retain their existing acquisition policy. The explicit release endpoint and its client are covered by #11146. This PR is based directly on `master` and can merge independently. ## Verification - 174 targeted Java tests passed, including REST signing and request compatibility, lock and snapshot publication, and Data Evolution row-ID reassignment. - Verified that Git merges this PR and #11146 without conflicts. -- 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]
