lhotari commented on pull request #12137: URL: https://github.com/apache/pulsar/pull/12137#issuecomment-925695116
I now realised that public/default gets always created with 16 bundles, regardless of what the configuration of defaultNumberOfNamespaceBundles is. Bundles is hard coded to 16 when public/default gets created in cluster metadata setup: https://github.com/apache/pulsar/blob/9905a9debd82ccb2f408faf32db2858166a4fff7/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java#L304 this gets called from this location: https://github.com/apache/pulsar/blob/9905a9debd82ccb2f408faf32db2858166a4fff7/pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java#L265-L266 The root cause of the problem where one of the servers was idling must have been caused by something else than the default bundles of 4 since public/default has 16 by default. I now checked with `pulsar-admin namespaces bundles public/default` and there's 44 for public/default in this perf testing environment. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
