pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] lovelle opened a new pull request #3946: Bugfix an unload non-existent topic
Date Fri, 29 Mar 2019 18:29:43 GMT
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

Mime
View raw message