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

XDCR: Remove duplicate data in P2P data objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Morpheus, 7.2.0
    • XDCR
    • None
    • 0

    Description

      P2P data transfer structs have actual payload and compressed form as well, thereby duplicating the data.

      Ideally after serializing/deserialising/compressing/decompressing the original data can be discarded. 

      type ReplicationPayload struct {
          mtx               sync.RWMutex
          payload           *BucketVBMPayloadType
          PayloadCompressed []byte
          ReplicationSpecId string
          SourceBucketName  string
          InternalSpecId    string
      }

      The payload is the serialized which is then compressed to store in PayloadCompressed

      Attachments

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

        Activity

          People

            sudeep.jathar Sudeep Jathar
            sudeep.jathar Sudeep Jathar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty