Skip to content

Conversation

@bbrks
Copy link
Member

@bbrks bbrks commented Jan 29, 2026

Clean cherry-pick of #8043 for 4.0.3

Integration Tests

  • n/a

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR backports a fix for CBG-5146 to support replacement revs for non-filtered replications. The issue was that replacement revisions were incorrectly being blocked when no channel filter was specified, even though the client opted in to receiving them.

Changes:

  • Fixed the channel filter check to allow replacement revs when no filter is specified (nil channels)
  • Added test coverage for the non-filtered replication scenario

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
db/blip_sync_context.go Added nil check for collectionCtx.channels to support replacement revs in non-filtered replications
rest/blip_api_crud_test.go Added test case for replacement revs with no channel filter and parameterized replication channels in test table

@gregns1 gregns1 merged commit 9fd7622 into release/4.0.3 Jan 29, 2026
42 checks passed
@gregns1 gregns1 deleted the CBG-5146 branch January 29, 2026 14:27
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