Nicklee007 opened a new pull request #11686:
URL: https://github.com/apache/pulsar/pull/11686
Fixes #11685
validatePartitionTopicUpdate use contain to check if there has a exist topic
will cause conflict, which will cause a failed when exist a topic which
contain the new topic's prefix and we want to update the new topic partition;
we have a those topic
"persistent://public/default/113p-partition-0"
"persistent://public/default/113p-partition-1"
"persistent://public/default/113p-partition-2"
"persistent://public/default/3p-partition-0"
when we want to update topic 3p to more partitions ,we failed because
"persistent://public/default/113p-partition-0" contain "3p-partition"
### Modifications
use the startwith to check if exist the same topic.
--
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]