Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1454

ISGR: filtered push replication replicates channel removal revisions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.3
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 77, CBG Sprint 83
    • 5

    Description

      Completed: https://github.com/couchbase/sync_gateway/pull/5076
      Sync Gateway Branch: CBG-1454

      There's been a report that filtered push replications are sending revisions of document that leave the channel.

      Needs further investigation, but may be due to active peer running as admin, as follows:

      • active peer pushes 'removed:true' revision via changes
      • passive peer requests rev
      • active peer checks whether they have access to rev. Since they are running as admin, will always have access
      • full revision gets sent, even though it doesn't match the channel filter

      A possible fix would be to not send removal changes messages in the first place for ISGR, since we don't support purge-on-removal for push replications in any case. Need to review whether purge-on-removal makes sense for push.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            isaac.lambat Isaac Lambat
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty