Yeah, sendAddSuccessCallbacks reads it without the lock and handleBookieFailure appears to rely on readers seeing it synchronously for correctness, so either you need the lock there or changingEnsemble would have to be volatile.
[ Full content available at: https://github.com/apache/bookkeeper/pull/1646 ] This message was relayed via gitbox.apache.org for [email protected]
