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

Inconsistent revision hash length

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • 2.6.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

            People

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