Skip to content

CBL-7960: Purges don't affect the QueryEnumerator#2456

Merged
jianminzhao merged 1 commit into
masterfrom
cbl-7960
Apr 1, 2026
Merged

CBL-7960: Purges don't affect the QueryEnumerator#2456
jianminzhao merged 1 commit into
masterfrom
cbl-7960

Conversation

@jianminzhao

Copy link
Copy Markdown
Contributor

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.

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.
@cbl-bot

cbl-bot commented Mar 31, 2026

Copy link
Copy Markdown

Code Coverage Results:

Type Percentage
branches 64.75
functions 77.35
instantiations 70.93
lines 76.0
regions 72.31

@jianminzhao jianminzhao requested a review from snej April 1, 2026 15:33
@jianminzhao jianminzhao merged commit 4df370c into master Apr 1, 2026
9 checks passed
@jianminzhao jianminzhao deleted the cbl-7960 branch April 1, 2026 16:29
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants