Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51937

[CBM] [EFS] Disable SQLite file locking

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 6.6.0, 6.6.1, 6.6.2, 7.0.0, 6.6.3, 7.1.0, 7.0.3, 7.0.2, 7.0.1, 6.6.6, 6.6.5, 6.6.4, 7.0.4
    • None
    • tools
    • Untriaged
    • 1
    • No

    Description

      What's the issue?
      We've had reports of users being unable to perform backups when using EFS; when using 6.6.x to backup a 6.6.x cluster, this is a supported configuration.

      This is due to the fact that a single process may only hold 256 locks in EFS and with small (ish) buckets, it's quite possible for SQLite to try acquire many more than this.

      What's the fix?
      We can disable SQLite file locking by switching out the VFS for either unix-none, or win32-none which have no-op locking operations.

      Is there a workaround?
      To some degree, yes. Changing (increasing) the number of threads being used to backup (with '--threads' can help, however, this isn't a guaranteed solution.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.2.0-1314 contains magma commit 74a7e05 with commit message:
            MB-51937 magma_dump: Move all cbcollect code to cbcollect_dump.cc

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1314 contains magma commit 74a7e05 with commit message: MB-51937 magma_dump: Move all cbcollect code to cbcollect_dump.cc

            Build couchbase-server-8.0.0-1015 contains magma commit 74a7e05 with commit message:
            MB-51937 magma_dump: Move all cbcollect code to cbcollect_dump.cc

            build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1015 contains magma commit 74a7e05 with commit message: MB-51937 magma_dump: Move all cbcollect code to cbcollect_dump.cc

            People

              james.lee James Lee
              james.lee James Lee
              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