You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/29 18:29:43 UTC

[GitHub] [pulsar] lovelle opened a new pull request #3946: Bugfix an unload non-existent topic

lovelle opened a new pull request #3946: Bugfix an unload non-existent topic
URL: https://github.com/apache/pulsar/pull/3946
 
 
   *Motivation*
   
   Fixes #3935
   
   When an unload operation is being made to an non-existent topic a null pointer
   exception is thrown due to bad handling exception on general catch clause.
   
   *Modifications*
   
     - Simplify exception thrown when partitioned topics was not found.
     - Fix NPE when unload operation is being made with a non-existent topic.
     - Add test in order to assert unload on normal situation.
     - Add test to assert npe from unload with non existent topic.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services