liangyepianzhou commented on code in PR #15301:
URL: https://github.com/apache/pulsar/pull/15301#discussion_r893082267
##########
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java:
##########
@@ -370,7 +373,7 @@ static void createPartitionedTopic(MetadataStore
configStore, TopicName topicNam
PartitionedTopicMetadata existsMeta = getResult.get();
// Only update metadata if the partitions should be modified
- if (existsMeta.partitions < numPartitions) {
+ if (existsMeta.partitions < numPartitions && force) {
Review Comment:
We do not support reducing the number of TC.
--
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]