merlimat commented on pull request #9501:
URL: https://github.com/apache/pulsar/pull/9501#issuecomment-774517204


   >  partitioned-topic considers AlreadyExists error as successful result but 
instead metadata-api returns BadVersion error which creates complication while 
handling failures.
   
   In this specific case, you're trying to create an entry. If you do 
`put(Optional.of(-1L)`, the only reason you'd get the BadVersion is if the 
entry is already there, so if that is ok, we can just ignore the BadVersion 
error.


----------------------------------------------------------------
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:
[email protected]


Reply via email to