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

Sync Gateway Syncs Empty Documents created by ACID transaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 6.5.0
    • cbl, sgw
    • CB 6.5.0 on RHEL 7.7
    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Empty docs are created on the server before ACID Transactions are committed. See MB-39941 for details. 

      If a Sync Gateway is syncing documents from the bucket, these empty documents are immediately synced to the CBLite devices. After commit, mobile will get another doc with the full contents. The revision number of the doc increments after commit. Also, the contents of the doc are stored in the xattrs. Which means the empty docs are not really empty. For large docs, this means that the same doc will sync twice! 

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            amrish_raje@infosys.com Amrish Raje
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty