Unless I'm mistaken, this can only happen (baring a bug) due to a recovery 
open.  Looks like the BKMetadataVersionException here gets translated to 
Code.MetadataVersionException in the whenComplete handler to be propagated to 
the caller.  It's a little obtuse for a condition the user might actually want 
to know about, but probably ok.  I would, however, like to see a log line at 
ERROR if the racing metadata update ended up with a lastEntryId < 
lastAddConfirmed (which should be strictly impossible, should be a simple check 
here).

[ Full content available at: https://github.com/apache/bookkeeper/pull/1646 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to