You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/09 05:25:47 UTC

[GitHub] [pulsar] liangyepianzhou commented on a diff in pull request #15301: [improve][tx] enhance validation when updating transaction topic

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org