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

Race condition with pending document ids

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.0
    • 2.8.0
    • iOS
    • Security Level: Public
    • None
    • Jay 28
    • 3

    Description

      Race condition when checking the pendingDocumentIds with replicator status check.

      two callbacks,

      • one will stop replicator
      • another will query for pending document ids

      first callback can finish early and finish with unit test, but second might run after first is finished. Resulting in race condition or failure with lite core objects leaking(inside teardown)

      Attachments

        Issue Links

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

          Activity

            People

              Jayahari.Vavachan Jay Vavachan
              Jayahari.Vavachan Jay Vavachan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty