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

Move history to end of marshalled SyncData

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.0
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • 3

    Description

      The order of properties in SyncData has an impact on indexing performance on the server - xattrs are processed in order until the property referenced by the index is found.

      The revtree (history) section of our metadata can grow large under some scenarios, but isn't referenced by any of our indexes.  Moving it to the end of the marshalled sync metadata will reduce the work on the indexer side.

      Attachments

        Issue Links

          Activity

            People

              The One The One
              adamf Adam Fraser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty