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

Shared Keys is created in an unloaded state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • None
    • 2

    Description

      When persistent shared keys are created (such as via calls to c4db_getFLSharedKeys), the results on disk are not loaded until the first read.  This results in an incorrect value for the count of the shared keys.  It will be 0 until the first read.

      Attachments

        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-107 contains couchbase-lite-core commit 76901cf with commit message:
          CBL-619: Try to plug a rare race in SharedKeys (#898)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-107 contains couchbase-lite-core commit 76901cf with commit message: CBL-619 : Try to plug a rare race in SharedKeys (#898)

          Build couchbase-lite-cblite-2.7.0-6 contains couchbase-lite-core commit 76901cf with commit message:
          CBL-619: Try to plug a rare race in SharedKeys (#898)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-6 contains couchbase-lite-core commit 76901cf with commit message: CBL-619 : Try to plug a rare race in SharedKeys (#898)

          Build couchbase-lite-android-2.7.0-261 contains couchbase-lite-core commit 76901cf with commit message:
          CBL-619: Try to plug a rare race in SharedKeys (#898)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.7.0-261 contains couchbase-lite-core commit 76901cf with commit message: CBL-619 : Try to plug a rare race in SharedKeys (#898)

          Build couchbase-lite-ios-2.6.4-2 contains couchbase-lite-core commit 82620b7 with commit message:
          CBL-619: Backport shared keys fix to cobalt

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.6.4-2 contains couchbase-lite-core commit 82620b7 with commit message: CBL-619 : Backport shared keys fix to cobalt

          Build couchbase-lite-net-2.6.4-3 contains couchbase-lite-core commit 82620b7 with commit message:
          CBL-619: Backport shared keys fix to cobalt

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.6.4-3 contains couchbase-lite-core commit 82620b7 with commit message: CBL-619 : Backport shared keys fix to cobalt

          People

            jimb Jim Borden
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty