forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the schema deletion when delete topic with delete schema (apache#…
…11501) The delete topic REST API already provided delete schema option, but the delete topic command does not apply this option, instead call the delete schema independently. And the delete schema REST API has a different behavior with the delete topic REST API with deleteSchema=true. When delete a topic with delete schema option, the schema ledgers and schema indexes will be deleted, but delete schema independently only write a delete marker to the schema storage. We may need to improve the delete schema API, but the improvement does not in this PR. This PR just correct the delete topic with delete schema behavior. (cherry picked from commit cc54f70)
- Loading branch information
1 parent
32aa263
commit 1939fa8
Showing
2 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters