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][broker] Reject replicated status for the compaction subscription by kaminski-dev · Pull Request #27037 · apache/pulsar Conversation
Contributor
Main Issue: #27031 MotivationThis is the follow-up to #27032, as requested in #27031 (comment). #27032 makes the receiving cluster ignore Modifications
Note: the admin API answers a rejected Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:If the box was checked, please highlight the changes
REST endpoints:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions`__compaction` can be marked as replicated through the admin API or `replicateSubscriptionState=true`. The cluster then sends replicated subscription update markers for it, which a remote cluster cannot apply to its compactor cursor. Override PulsarCompactorSubscription.setReplicated so that enabling returns false and changes nothing. Disabling is still delegated, so a replicated status that was set before can be removed. Assisted-by: Claude Code (claude-opus-5-5)
3 tasks done
codelipenghui
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reviewed head 350c180. No actionable findings identified within the reviewed scope. The override rejects enabling replication without mutating state while preserving disabling and constructor-time cleanup. Three focused compactor tests passed. The new regression test failed as expected with the override removed and passed again after restoration.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
lhotari
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
kaminski-dev
deleted the
fix/reject-replicated-status-for-compaction-sub
branch
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
apache#27037) (cherry picked from commit 59014f9)
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
apache#27037) (cherry picked from commit 59014f9)
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. AssigneesLabelsProjectsDevelopmentSuccessfully 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. |