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

engine should exit when it fails to obtain files exclusively

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • mbz M1-3
    • 1.6.0 beta4
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      Steps to reproduce are as follows.

      STR:
      Load some data (say 8GB) to membase.
      Kill membase using kill -9 (this is just to simulate a crash)
      Restart membase.

      Observed:
      Memory of membase does not have persisted data.
      Error message is seen in the memcache log file.
      Initializing DB session from /tmp/init.sql
      Executing query: ``PRAGMA journal_mode = TRUNCATE''
      Executing query: ``PRAGMA locking_mode = EXCLUSIVE''
      Executing query: ``PRAGMA synchronous = NORMAL''
      SQLITE_BUSY (retrying)
      sqlite error: database is locked
      Failed to create database: unknown database kv_0

      However, the process doesn't exit, so it can be hard to determine what state it is in without examining the logs. Clients would likely just receive cache misses or errors.

      Attachments

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

        Activity

          People

            dustin@sallings.org Dustin Sallings (Inactive)
            matt@northscale.com Matt(old) Ingenthron (Inactive)
            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