CBL-7960: Purges don't affect the QueryEnumerator#2456
Merged
Conversation
This is because purgeCount() of BothKeyStore only counts purgeCount of the _liveStore and purging a deleted document only increments the count of the _deadStore. We fixed BothKeyStore::purgeCount to now counts both child stores.
|
Code Coverage Results:
|
snej
approved these changes
Apr 1, 2026
jianminzhao
added a commit
that referenced
this pull request
Apr 16, 2026
CBL-7977: Allow to access Correlation ID from C4Replicator (#2463) CBL-8072: Crash in litecore::Logging with error EXC_BAD_ACCESS (#2458) CBL-7960: Purges don't affect the QueryEnumerator (#2456) EE: CBL-8078: C4PeerSync: Report change in each protocol's status [CBL-8078] (#125) a2587dd P2P: Allow incoming connection from unknown C4Peer (#129) 85ca8f3 Fixed deadlock in C4PeerDiscovery::shutdown() (#131) CBL-7977: Allow to access Correlation ID from C4Replicator CBL-8077: Fixed BT peer not publishing updated metadata [CBL-8077] (#128)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is because purgeCount() of BothKeyStore only counts purgeCount of the _liveStore and purging a deleted document only increments the count of the _deadStore. We fixed BothKeyStore::purgeCount to now counts both child stores.