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

Improve log message and error when database cannot be deleted due to pending connections

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Blocker
    • 3.0, 2.8.7
    • 3.0, 2.8.5
    • LiteCore
    • Security Level: Public
    • None
    • Jianmin 56
    • 5

    Description

      Per discussion for CBSE-10684 :

      1. Provide an optional enum indicating the usage (e.g. query, replicator, application) when opening the c4Database.

      2. Improve logging messages about pending database connections when deleting the database (data file) by providing the usage information. 

      3. Throw errors to fail faster (maybe after waiting for a minimum timeout?) when cannot deleting the database (data file) due to some pending database connections. If waiting for the connections for application alone, the error code could be different.

      4. Synchronize timeout between waiting for the pending connections to close and the timeout waiting for web socket to close. CBL-2383

       

      Attachments

        Issue Links

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

          Activity

            People

              jianmin.zhao Jianmin Zhao
              pasin Pasin Suriyentrakorn
              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