@sijie the previous behaviour is not documented, nor is it well defined. In some cases a metadata version exception allowed a close to succeed, and in others it did not. I would not expect any application is relying on this behaviour, and if they are, they are probably broken in many other ways. I can revert this my putting throwing an exception in the Predicate part of the loop if the metadata is closed. There'd be no guarantee that behaviour is still exactly matching though, because it isn't well defined currently.
[ Full content available at: https://github.com/apache/bookkeeper/pull/1646 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org