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

Tear down DBAccess on stopped instead of on release

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.8.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • None
    • 3

    Description

      Related to a reported issue in which a database is unable to be deleted due to our internal classes holding a reference to them. For reasons still unknown, the replicator is not being torn down in a timely fashion which causes this problem. So instead of waiting for it to be torn down before getting rid of the DB handles, do so immediately upon stopped. The class holding these references is designed to be single shot anyway (i.e. if it is needed again after stop, a new one is created) so it doesn't matter much from the class' standpoint where we do this.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-lite-net-3.0.0-116 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-116 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-core-3.0.0-171 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-core-3.0.0-171 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-cblite-3.0.0-182 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-3.0.0-182 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-log-3.0.0-183 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-log-3.0.0-183 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-ios-3.0.0-320 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-3.0.0-320 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-android-3.0.0-182 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-182 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-java-3.0.0-183 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-183 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            Build couchbase-lite-c-3.0.0-170 contains couchbase-lite-core commit 948cab4 with commit message:
            CBL-2478: Tear down DBAccess on stopped instead of on release (#1293)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-c-3.0.0-170 contains couchbase-lite-core commit 948cab4 with commit message: CBL-2478 : Tear down DBAccess on stopped instead of on release (#1293)

            People

              jianmin.zhao Jianmin Zhao
              jimb Jim Borden
              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