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

Compaction could cause "database is locked" error when the replicator attempts to save its checkpoint at the same time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.12
    • 3.0.2
    • LiteCore
    • Security Level: Public
    • None
    • 2

    Description

      Running compact (which runs optimize() & vacuum()) could cause the "database locked" error when the replicator attempts to save its local checkpoint at the same time. This is similar to the problem that we just found in helium (CBL-4395) when stopping the replicator.

      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
              pasin Pasin Suriyentrakorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty