Skip to content

Ensure deleting a partitioned-topic on a non existing namespace returns 404 #7777

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

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Aug 6, 2020

Motivation

In 2.6, deleting a partitioned topic from a non-existing namespace is returning a 500 HTTP error. This has changed from 2.5 and also it's inconsistent with the delete individual topic which returns 404 (also, we should never throw 500 from "expected" errors).

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Aug 6, 2020
@merlimat merlimat added this to the 2.7.0 milestone Aug 6, 2020
@merlimat merlimat self-assigned this Aug 6, 2020
@merlimat merlimat merged commit d1070b7 into master Aug 7, 2020
jerrypeng pushed a commit to jerrypeng/incubator-pulsar that referenced this pull request Aug 14, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
@merlimat merlimat deleted the delete-topic-idempotent branch May 17, 2021 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants