michaeljmarshall opened a new pull request, #4307: URL: https://github.com/apache/bookkeeper/pull/4307
### Motivation We swap the `writeCache` and the `writeCacheBeingFlushed` on flush. Therefore, it is not safe to call each to get the size/count metrics. Instead, if we expose the underlying accumulators, we can safely get the stats. ### Changes Expose the `AtomicLong` and the `LongAdder` objects in the `WriteCache` for safer metrics reporting. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
