-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[test][admin]add test case: delete namespace when has partitioned system topic #17338
Conversation
I think CI failure is fixed by #17339 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it a problem if the topic autocreation disabled? (e.g. see #17308 )
If it was not, maybe namespace deletion (at least the forced one) should disable topic autocreation before attempting the deletion.
Hi @dlg99 Thanks. let me add some description #15141 try fix the issue "delete namespace when has non persistent topic". #17308 try fix the race condition between
Not. When Auto Create is disabled, everything is fine. #17308 try to fix datastax#112, that is a really difficult problem to solve, I left a comment at #17308 |
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
4c2e15f
to
3d8b03e
Compare
/pulsarbot rerun-failure-checks |
2 similar comments
/pulsarbot rerun-failure-checks |
/pulsarbot rerun-failure-checks |
…tioned system topic (apache#17338)
…tioned system topic (apache#17338) (cherry picked from commit bfbe381) (cherry picked from commit 1d89e0c)
…tioned system topic (apache#17338) (cherry picked from commit bfbe381) (cherry picked from commit 1d89e0c)
…as partitioned system topic (apache#17338)" This reverts commit f1ec5ca.
…tioned system topic (apache#17338) (cherry picked from commit bfbe381)
…as partitioned system topic (apache#17338)" This reverts commit f1ec5ca.
As discussed on the mailing list https://lists.apache.org/thread/w4jzk27qhtosgsz7l9bmhf1t7o9mxjhp, there is no plan to release 2.9.6, so I am going to remove the release/2.9.6 label |
Motivation
When a namespace containing partitioned topics is deleted, will throw the topic not found exception.
(High light) Should use API
deletePartitionedTopicAsync
to delete partitioned system topic.Modifications
cmd-deletePartitionedTopicAsync
to delete partitioned system topic.Documentation
doc-required
doc-not-needed
doc
doc-complete