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

Be able to handle all forms of file corruption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • bug-backlog
    • 4.5.0
    • forestdb
    • None
    • Untriaged
    • Unknown

    Description

      From a discussion with Chiyoung he mentioned that if index blocks get corrupted then there is no way to gracefully handle this. In a separate issue (MB-17949) we overwrote a forestdb file using the dd command and it caused a crash in forestdb during a get call. The dd command used is below.

      dd if=/dev/urandom of=/tmp/entbackup/backup/2016-02-08T10\:46\:28.3284434Z/default-54d5c71cd2e7f341a721f80cfa304550/data/shard_0.fdb

      And the assertion error is:

      Assertion in 0x0 != 0x5c39650 in /Users/mikewied/open_source/forestdb/src/hbtrie.cc:84
      Assertion failed: (rsize && rsize <= trie->chunksize), function _hbtrie_reform_key, file /Users/mikewied/open_source/forestdb/src/hbtrie.cc, line 84.
      SIGABRT: abort

      Attachments

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

        Activity

          People

            tai.tran Tai Tran (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty