Skip to content

CBL-8076: Do not retry replicator connections if WebSocket being clos…#2479

Merged
jianminzhao merged 2 commits intorelease/4.0from
cbl-8076
Apr 30, 2026
Merged

CBL-8076: Do not retry replicator connections if WebSocket being clos…#2479
jianminzhao merged 2 commits intorelease/4.0from
cbl-8076

Conversation

@jianminzhao
Copy link
Copy Markdown
Contributor

The Abnormal Close occurs after the client is already decided to close the socket but fails to receive response from the server. We don't want to retry replicating on this condition.

We fix it by a change in WebSocket, that it now treats a connection closure that is not fully complete only due to a pending final server acknowledgement (i.e. CLOSE frame was already sent).

The Abnormal Close occurs after the client is already decided to close the socket but fails to receive response from the server. We don't want to retry replicating on this condition.

We fix it by a change in WebSocket, that it now treats a connection closure that is  not fully complete only due to a pending final server acknowledgement (i.e. CLOSE frame was already sent).
@cbl-bot
Copy link
Copy Markdown

cbl-bot commented Apr 29, 2026

Code Coverage Results:

Type Percentage
branches 65.98
functions 78.27
instantiations 71.76
lines 77.28
regions 73.62

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

This is a release branch and commits are restricted.

Please confirm this PR is one of the following:

  • A response to a customer ask
  • A change per our security policy
  • A non-functional change (i.e. changes needed for building an older version)
  • A change that has been granted an exception (please comment)

@jianminzhao jianminzhao requested a review from pasin April 30, 2026 03:26
@jianminzhao jianminzhao merged commit 9490d0d into release/4.0 Apr 30, 2026
10 checks passed
@jianminzhao jianminzhao deleted the cbl-8076 branch April 30, 2026 04:59
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