GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [fix][meta] Track explicitly acquired underreplicated ledger locks by void-ptr974 · Pull Request #26670 · apache/pulsar Conversation
Contributor
Motivation
Explicit acquisition is also used for mutual exclusion without claiming a pending underreplication task. Tracking these locks must not allow Modifications
Verifying this changeBefore the fix, the new tests produced 8 failures across Memory and real ZooKeeper because explicitly acquired locks remained after release/close/mark. The 4 failed-acquisition protection cases passed on the original implementation. Post-fix validation, with automatic retries disabled and no failed or skipped tests:
Full underreplication manager suite on Linux with Docker: TEST_METADATA_PROVIDERS=Memory,ZooKeeper,MockZooKeeper,RocksDB,Oxia ./gradlew :pulsar-metadata:test \
--tests 'org.apache.pulsar.metadata.bookkeeper.LedgerUnderreplicationManagerTest' \
-PtestRetryCount=0 -PtestFailFast=false --max-workers=4 --console=plainDoes this pull request potentially affect one of the following parts:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsRegister explicit locks after successful acquisition so release and close can remove them while a shared metadata store remains open. Distinguish these locks from polled tasks with an optional underreplication record version, preventing explicit acquisition from authorizing task deletion. Cover release, shared-store close, record preservation, failed contenders, and preservation of a polled version after a failed duplicate acquisition. Assisted-by: Codex
nodece
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
1 of 11 tasks
Radiancebobo
pushed a commit
to Radiancebobo/pulsar
that referenced
this pull request
4 of 5 tasks
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
…pache#26670) (cherry picked from commit 2857cc3)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |