Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Topic level geo configure, the partitioned topics can not auto created on remote cluster. #21153

Open
1 of 2 tasks
liudezhi2098 opened this issue Sep 10, 2023 · 2 comments · May be fixed by #21679
Open
1 of 2 tasks
Labels
Stale type/bug The PR fixed a bug or issue reported a bug

Comments

@liudezhi2098
Copy link
Contributor

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.10.5

Minimal reproduce step

  1. Create a Topic with partition 2 on cluster1
    bin/pulsar-admin topics create-partitioned-topic -p 2 public/geo-1/test-1
  2. Topic level GEO Configure
    bin/pulsar-admin topics set-replication-clusters -c cluster1,cluster2 public/geo-1/test-1
  3. View the list of partitioned topics and non-partitioned topics in Cluster2.
bin/pulsar-admin topics list-partitioned-topics public/geo-1
empty

bin/pulsar-admin topics list public/geo-1
public/geo-1/test-1-partition-0
public/geo-1/test-1-partition-1

What did you expect to see?

View the list of partitioned topics and non-partitioned topics in Cluster2.

bin/pulsar-admin topics list-partitioned-topics public/geo-1
public/geo-1/test-1

bin/pulsar-admin topics list public/geo-1
public/geo-1/test-1-partition-0
public/geo-1/test-1-partition-1

What did you see instead?

View the list of partitioned topics and non-partitioned topics in Cluster2.

bin/pulsar-admin topics list-partitioned-topics public/geo-1
empty

bin/pulsar-admin topics list public/geo-1
public/geo-1/test-1-partition-0
public/geo-1/test-1-partition-1

Partitioned topics are not created in the remote cluster.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@liudezhi2098 liudezhi2098 added the type/bug The PR fixed a bug or issue reported a bug label Sep 10, 2023
@liudezhi2098 liudezhi2098 changed the title [Bug] Topic level GEO Configure, the partitioned topics can not auto created on remote cluster. [Bug] Topic level geo configure, the partitioned topics can not auto created on remote cluster. Sep 10, 2023
@mattisonchao
Copy link
Member

mattisonchao commented Sep 20, 2023

@liudezhi2098
Could you share the broker's log when you are trying to create a partitioned topic?
Plus, you can use createMissedPartitionscommand as a workaround method to fix this problem. :)

@github-actions
Copy link

The issue had no activity for 30 days, mark with Stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants