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

   ### Motivation
   The return secheamResult is inaccurate when schema encounter an 
non-recoverable exception in method `trimDeletedSchemaAndGetList`.
    
   Although, we executed the `trimDeletedSchemaAndGetList` method at line 563, 
however the returned result is not used. We finally still returned `list` at 
line 568 `schemaResult.complete(list)`
   
   ### Modifications
   Replace `list`  with the method `trimDeletedSchemaAndGetList` result.
   
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `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