dlg99 opened a new pull request, #18193:
URL: https://github.com/apache/pulsar/pull/18193

   ### Motivation
   
   Forced delete of partitioned topic with active consumer on the namespace 
where the topic autocreate is enabled leaves the namespace in the state where 
one cannot create partitioned topic with the same name (because it exists 
already) and cannot delete it (because it does not exist at the same time)
   
   https://github.com/apache/pulsar/pull/17308 -> 
https://github.com/apache/pulsar/pull/17566 -> this rework of 17308
   
   ### Modifications
   
   Prevents autocreation of the topic partitions during deletion. Correctly 
detects partitioned topic as non-existing if namespace level metadata is 
deleted. 
   
   ### Verifying this change
   
   This change added tests
   
   PR validating the change: https://github.com/dlg99/pulsar/pull/2
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
   nothing AFAICT
   
     - Dependencies (does it add or upgrade a dependency): (yes / no)
     - The public API: (yes / no)
     - The schema: (yes / no / don't know)
     - The default values of configurations: (yes / no)
     - The wire protocol: (yes / no)
     - The rest endpoints: (yes / no)
     - The admin cli options: (yes / no)
     - Anything that affects deployment: (yes / no / don't know)
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   
   Bug fix
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to