apache / apache/pulsar

[Bug] ns-isolation-policy takes a long time take effect

Open
#20,886 2 comments 0 reactions 0 assignees View on GitHub
Stale type/bug
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

3.0.0

### Minimal reproduce step

I want to set a isolation policy for a namespace, i execyted ns-isolation-policy command, but i can get a error when i execute partitioned-lookup command, refer to the figure below for details.

![image](https://github.com/apache/pulsar/assets/38887641/95ccd9d1-6f21-4335-bd1e-adcb38734108)

i tried to produce messages to this topic, it also cann't works, and give a error.
![image](https://github.com/apache/pulsar/assets/38887641/9e344814-32cb-4366-9d43-5ef931d24895)

### What did you expect to see?

The topic in the namespace belongs can be assigned to the broker on port 8080

### What did you see instead?

Refer to the screenshot above for the problem

### Anything else?

_No response_

### Are you willing to submit a PR?

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with the ns-isolation-policy and partitioned-lookup commands described in the issue, then compare the namespace policy update with topic assignment and message production. Done means the namespace topic can be assigned to the broker on port 8080 without the reported lookup or production errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.