[fix][broker][WIP] Don't check replication clusters for ownership of system topics#22597
Draft
lhotari wants to merge 2 commits intoapache:masterfrom
Draft
[fix][broker][WIP] Don't check replication clusters for ownership of system topics#22597lhotari wants to merge 2 commits intoapache:masterfrom
lhotari wants to merge 2 commits intoapache:masterfrom
Conversation
1b91da8 to
648b5f0
Compare
Member
Author
|
@poorbarcode @heesung-sn Do you think that relaxing the checkLocalOrGetPeerReplicationCluster checks for system topics would be useful? |
Contributor
|
I realized that Pulsar has some loopholes that unnecessarily try to replicate, migrate or do other operations on system topics. We need to check all system topics and define their behaviors for each feature. System namespace and system topics
I am checking the system topics from the new load balancer. |
Contributor
|
To answer your questions, Im not sure. I assume all system topics should live in local cluster only,but I could be wrong. |
Member
Author
|
Same exception with current master branch version 93afd89 |
648b5f0 to
23d8b53
Compare
Member
Author
|
It seems that __change_events has special handling in replication: Therefore I'm not sure if the solution in this PR is correct or not. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
WIP, not ready for review. PR opened in draft mode for initial discussion and feedback.
Motivation
When investigating another issue and reproducing the problem using these instructions, #21948 (comment), I noticed this WARN log message:
Modifications
checkLocalOrGetPeerReplicationClusterchecks.Additional Context
This is related to #20304 changes since that made some relaxation on the checks.
Documentation
docdoc-requireddoc-not-neededdoc-complete