Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33881

Ability to get deltas for document mutations

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • eventing

    Description

      A customer would like the ability to retrieve only the changed portion (or at least have it indicated) for incoming mutations.

      The use case is to track changes which happen on document much like change data capture (CDC) for databases where INSERTS, UPDATES and DELETES can be captured.

      Today this is not possible with eventing as you only have access to the new (whole) mutation, there is no delta or previous version to compare to.

      You could implement this by creating a second bucket and using eventing to store the old versions of mutations, then compare these in the function.
      Unfortunately this means your storage requirements for your cluster immediately double and with de-duplication you may receive delta mutations which don't actually represent which individual mutations affected a document.

      Attachments

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

        Activity

          There are no comments yet on this issue.

          People

            srinivasan.raman Srinivasan Raman
            chinhong Chin Hong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty