Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-41

Filtered Push Replication in 2.0

    XMLWordPrintable

Details

    Description

      PRD: https://docs.google.com/document/d/1DN1okP8ESZh8q21O8HNIu-s7Be3IeehMS8pkGVQp9yQ/edit

      Priority Reference : https://docs.google.com/spreadsheets/d/1K5EIWoiZifJt1ABygmj_8ppT-6_xS7ojhjxLEOgpHsU/edit#gid=0

       

       

      Restrict a push replication to only a subset of the available documents, by writing a filter function. This gives a developer control on what CBL pushed back to SG.

      Target - 2.1 (will depend on how many customers ask for it).

      Acceptance criteria -

      During a push replication, the a document or a set of documents live in an embedded database but will not be replicated to the Sync Gateway.

      "How can I control what Couchbase Lite pushes back to Sync Gateway?"

      True you can handle it in the Sync Gateway sync function via a rejected push by type, status != completed or XYZ check , but that means they might have to rework their sync function in production which nobody wants to do.

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            sachin.smotra Sachin Smotra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty