-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make BookieId work with PulsarRegistrationDriver #17762
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/pulsarbot run-failure-checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have a problem with this PR. I have seen this problem the first time we implemented getBookieServiceInfo in BookKeeper in the ZKRegistrationClient. I am working on it
|
I have switched to MetadataCache and now it works like a charm |
/pulsarbot rerun-failure-checks |
* Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle (cherry picked from commit 8d7ac33)
This PR depends on #17620, or else CI fails because of deadlock on zk callback thread. See https://github.com/Jason918/pulsar/actions/runs/3120819833/jobs/5061697358#step:8:5003 |
* Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle
Related issue: #17759 |
This reverts commit 8d7ac33.
* Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle
* Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle
* Make BookieId work with PulsarRegistrationDriver (#17762) * Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle * Do not execute lookup on MetadataCache in the getBookieServiceInfo caller thread
…e#17922) * Make BookieId work with PulsarRegistrationDriver (apache#17762) * Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle * Do not execute lookup on MetadataCache in the getBookieServiceInfo caller thread (cherry picked from commit 09f5eeb) (cherry picked from commit e3eb026)
…e#17922) * Make BookieId work with PulsarRegistrationDriver (apache#17762) * Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle * Do not execute lookup on MetadataCache in the getBookieServiceInfo caller thread (cherry picked from commit 09f5eeb) (cherry picked from commit e3eb026)
* Make BookieId work with PulsarRegistrationDriver (#17762) * Make BookieId work with PulsarRegistrationDriver * Switch to MetadataCache * checkstyle * Do not execute lookup on MetadataCache in the getBookieServiceInfo caller thread
Motivation
In Pulsar 2.10 the custom "BookieId" feature doesn't work anymore because in PulsarRegistrationDriver we are not implementing
getBookieServiceInfo
Modifications
Implement
getBookieServiceInfo
Verifying this change
This change added tests
Documentation
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)
Matching PR in forked repository
PR in forked repository:eolivelli#17