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

Inconsistent revision hash length

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • postHelium
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 34
    • 5

    Description

      See CBL-242. Change rev id digest to use crc32c. There are already helper functions in place to generate this for body hash - would just need to be modified to incorporate all elements used when generating rev id digest (parent rev id, body, deleted flag). Review https://github.com/couchbase/couchbase-lite-core/pull/866/files to ensure the components used are the same as CBL. Can use CBL unit tests (C/tests/c4DocumentTest.cc) to validate rev id generation matches on the SG side.

      Attachments

        Issue Links

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

          Activity

            People

              The One The One
              daniel.petersen Daniel Petersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty