Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-242

Inconsistent revision hash length

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • None
    • CBL Sprint 6
    • 3

    Description

      Looking at recent raw documents, it looks like the revision id length varies depending on whether it was generated on Sync Gateway or Couchbase Lite.

      On the one hand, these are expected to be opaque, so it shouldn't matter; however the general expectation is that the same change to a revision will generate the same child hash in every location (i.e. if I make the same change in two places, the revision will be the same). Seems like not doing so will generate unnecessary conflicts?

      Could be that this is intentional, but if not it's something that we should potentially look into.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-lite-ios-2.7.0-73 contains couchbase-lite-core commit 3e4db64 with commit message:
            CBL-242 Switch to CRC32C for revision ID (#866)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-73 contains couchbase-lite-core commit 3e4db64 with commit message: CBL-242 Switch to CRC32C for revision ID (#866)

            Build couchbase-lite-net-2.7.0-86 contains couchbase-lite-core commit 3e4db64 with commit message:
            CBL-242 Switch to CRC32C for revision ID (#866)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-86 contains couchbase-lite-core commit 3e4db64 with commit message: CBL-242 Switch to CRC32C for revision ID (#866)

            Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit 3e4db64 with commit message:
            CBL-242 Switch to CRC32C for revision ID (#866)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit 3e4db64 with commit message: CBL-242 Switch to CRC32C for revision ID (#866)

            Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit 3e4db64 with commit message:
            CBL-242 Switch to CRC32C for revision ID (#866)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit 3e4db64 with commit message: CBL-242 Switch to CRC32C for revision ID (#866)

            Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit 3e4db64 with commit message:
            CBL-242 Switch to CRC32C for revision ID (#866)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit 3e4db64 with commit message: CBL-242 Switch to CRC32C for revision ID (#866)

            People

              jimb Jim Borden
              James Flather James Flather
              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