pulsar
pulsar copied to clipboard
[fix][broker] fix error process in admin.updateTopicPartition
Main Issue: https://github.com/apache/pulsar/issues/25041
Motivation
fix the unreasonable update partition process
Modifications
recover the topic partition process to :
- create missing partitions
- create subscription for new partition
- update topic metadata
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
- [ ] Dependencies (add or upgrade a dependency)
- [ ] The public API
- [ ] The schema
- [ ] The default values of configurations
- [ ] The threading model
- [ ] The binary protocol
- [ ] The REST endpoints
- [ ] The admin CLI options
- [ ] The metrics
- [ ] Anything that affects deployment
Documentation
- [ ]
doc - [ ]
doc-required - [x]
doc-not-needed - [ ]
doc-complete