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

Compactor crash and db file corruption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0-beta
    • 2.0-beta
    • storage-engine
    • Security Level: Public
    • None

    Description

      [ns_server:warn] [2012-06-07 12:23:23] [n_0@127.0.0.1:<0.3674.0>:compaction_daemon:do_chain_compactors:453] Compactor for vbucket `default/0` (pid [

      {type,vbucket},
      {name,<<"default/0">>},
      {important,false},
      {fa,
      {#Fun<compaction_daemon.17.86034732>,
      [<<"default/0">>]}},
      {on_success,
      {#Fun<compaction_daemon.18.31588185>,
      [2,3]}}]) terminated unexpectedly (ignoring this): {{badmatch,
      eof},
      [{couch_btree, get_node, 2},
      {couch_btree, lookup, 3},
      {couch_btree, lookup, 2},
      {couch_db_updater, copy_docs, 4},
      {couch_db_updater, '-copy_compact/3-fun-0-', 7},
      {couch_btree, stream_kv_node2, 8},
      {couch_btree, stream_kp_node, 7},
      {couch_btree, stream_kp_node, 8}]}

      potential race here perhaps

      Seems to be temporary. I'm loading data as fast as I can into 2 vbuckets single node cluster.

      Than few seconds later I'm getting


      [ns_server:warn] [2012-06-07 12:26:37] [n_0@127.0.0.1:<0.5299.0>:compaction_daemon:do_chain_compactors:453] Compactor for vbucket `default/0` (pid [{type,vbucket}

      ,

      {name,<<"default/0">>}

      ,

      {important,false}

      ,
      {fa,
      {#Fun<compaction_daemon.17.86034732>,
      [<<"default/0">>]}},
      {on_success,
      {#Fun<compaction_daemon.18.31588185>,
      [2,3]}}]) terminated unexpectedly (ignoring this):

      {file_corruption, <<"file corruption">>}

      this error also seems to be transient. I.e. next compaction actually succeeds.

      attaching diags and will upload file (that's less than 4gigs)

      couch file is here: https://docs.google.com/open?id=0B6NtGsLhIcf7OWR1bDNCQjlxSDg

      Attachments

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

        Activity

          People

            damien damien (Inactive)
            alkondratenko Aleksey Kondratenko (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