pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[fix][broker] fix error process in admin.updateTopicPartition

Open TakaHiR07 opened this issue 3 weeks ago • 0 comments

Main Issue: https://github.com/apache/pulsar/issues/25041

Motivation

fix the unreasonable update partition process

Modifications

recover the topic partition process to :

  1. create missing partitions
  2. create subscription for new partition
  3. 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

TakaHiR07 avatar Dec 05 '25 10:12 TakaHiR07