-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[functions] Distributed log metadata not correctly initialized #13891
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
[functions] Distributed log metadata not correctly initialized #13891
Conversation
pulsar-broker/src/test/java/org/apache/pulsar/broker/zookeeper/ClusterMetadataSetupTest.java
Outdated
Show resolved
Hide resolved
|
/pulsarbot run-failure-checks |
pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataSetupTest.java
Outdated
Show resolved
Hide resolved
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/ZKMetadataStore.java
Outdated
Show resolved
Hide resolved
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Outdated
Show resolved
Hide resolved
|
@MMirelli is this patch fixing your issue ? |
|
/pulsarbot run-failure-checks |
|
/pulsarbot rerun-failure-checks |
|
@MMirelli I've run the test you mentioned and now it works with these changes. Also the integration tests are passing |
eolivelli
left a comment
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
lhotari
left a comment
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.
It might not be related to this PR, but I don't understand the format of the metadata-store: URL. It's really odd that zk: in metadata-store:zk: seems to be optional. @merlimat What's the reasoning for this? Can you also review this PR?
|
@Jason918 would you be able to review these changes? thank you |
@lhotari Main reason was to accept When configuring BK access, it has already its own prefix for the BK pluggable metadata. There we use the prefix |
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Show resolved
Hide resolved
|
I have restarted CI. Merging as soon as it passes |
|
/pulsarbot rerun-failure-checks |
lhotari
left a comment
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.
Good work @nicoloboschi !
Motivation
The PR #13296 introduces a bug that breaks the functions worker in certain types of configuration.
To reproduce:
zookkeeperentry ininitialize-cluster-metadatacommand (which is the common configuration before PIP-45) (see the unit test for reference)/ledgersby default) anymore and instead, it uses the root path (ledgersPath="").Modifications
Documentation
no-need-doc