apache / apache/pulsar

[Bug] After enabling replication, the number of topic partitions cannot be modified

Open
#21,049 8 comments 0 reactions 1 assignee Claimed by @mattisonchao View on GitHub
deprecated/question Stale
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

v2.9.4

### Minimal reproduce step

1. Turn on geo-replication according to the official document steps [https://pulsar.apache.org/docs/2.11.x/administration-geo/]
2. Master and slave clusters use different zookeepers
3. Modify the number of partitions of topic multiple times

### What did you expect to see?

The number of partitions is modified correctly and synchronized to another cluster

### What did you see instead?

1. Failed to modify the number of partitions
![截屏2023-08-22 下午5 56 11](https://github.com/apache/pulsar/assets/68532999/7a322e4b-a3d3-432a-a197-654b67dc307e)

2. Another cluster has an incorrect number of partitions
![截屏2023-08-22 下午5 57 14](https://github.com/apache/pulsar/assets/68532999/59b75560-7df6-40f4-8c9d-a1ac21daa2dc)

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.