Skip to content

CBL-8580: Use AtomicRetained in Replicator::Subreplicators#2517

Merged
jianminzhao merged 1 commit into
masterfrom
cbl-8580
Jul 1, 2026
Merged

CBL-8580: Use AtomicRetained in Replicator::Subreplicators#2517
jianminzhao merged 1 commit into
masterfrom
cbl-8580

Conversation

@jianminzhao

Copy link
Copy Markdown
Contributor

Fixes a race condition when a Replicator is torn down.


Fixes a race condition when a Replicator is torn down.

---------

Co-authored-by: Pasin Suriyentrakorn <pasin@couchbase.com>
@cbl-bot

cbl-bot commented Jun 30, 2026

Copy link
Copy Markdown

Code Coverage Results:

Type Percentage
branches 64.67
functions 77.41
instantiations 71.04
lines 76.08
regions 72.35

@jianminzhao jianminzhao requested a review from borrrden June 30, 2026 15:33
@jianminzhao

Copy link
Copy Markdown
Contributor Author

Ported from https://jira.issues.couchbase.com/browse/CBL-8475. Merged without conflicts.

@jianminzhao jianminzhao merged commit d3be905 into master Jul 1, 2026
9 checks passed
@jianminzhao jianminzhao deleted the cbl-8580 branch July 1, 2026 22:43
jianminzhao added a commit that referenced this pull request Jul 2, 2026
CBL-8578: Fixed dumb bug in RingBuffer causing BT TLS streams to fail. (#2516)
CBL-8580: Use AtomicRetained in Replicator::Subreplicators (#2517)
CBL-8516: Add a timeout to C4WebSocket::waitForTLSHandshake() (#2514)

EE:
CBL-8516: Don't let MeshManager hang waiting for TLS handshake (#147) (#156)
CBL-8512: Re-add a suspended Bonjour peer if it's rediscovered (#154)
CBL-8510: Fix connect timeout check in LiteCoreBTCentral (#153)
CBL-8514: Improved TLSCodec error handling (#145) (#155)
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.

4 participants