Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-43621: Don't count aborts towards on_disk_prepare_bytes
We have a few tests that try to track on_disk_prepare_size but they used the cachedVBState which wasn't updated post flush. We shouldn't count aborts towards on_disk_prepare_bytes as we must keep them for the metadata purge interval to ensure that replicas can reconnect correctly. As such their inclusion in on_disk_prepare_bytes would potentially trigger unnecessary compactions. Change-Id: Ie42186c538bff6a5bb33dc019e03185aba1079d9 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/143425 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Dave Rigby <daver@couchbase.com>
- Loading branch information
1 parent
3078f85
commit c184072
Showing
2 changed files
with
100 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters