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

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
    • Beryllium
    • 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

          Activity

            People

              jimb Jim Borden
              pasin Pasin Suriyentrakorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty