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

In rare cases CRC codes dont match when reading data from couch file

    Details

      Description

      I experimented with building index on 6 cluster_run nodes and 9E6 simple docs. Everything went fine and results appeared right, but I'm seeing

      [ns_server:debug,2012-09-05T21:31:14.218,n_5@10.17.21.241:compaction_daemon:compaction_daemon:schedule_next_compaction:1204]Finished compaction too soon. Next run will be in 30s
      [couchdb:error,2012-09-05T21:31:14.296,n_2@10.17.21.241:<0.9681.0>:couch_log:error:42]Set view `default`, replica group `_design/dev_t`, doc loader error
      error:

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

      stacktrace: [

      {couch_file,pread_iolist,2}

      ,

      {couch_db,open_doc_int,3}

      ,

      {couch_set_view_updater,load_doc,4}

      ,

      {couch_set_view_updater,'-load_changes/7-fun-0-',6}

      ,

      {couch_btree,stream_kv_node2,8}

      ,

      {couch_btree,stream_kp_node,7}

      ,

      {couch_btree,fold,4}

      ,

      {couch_db,enum_docs_since,5}

      ]

      [couchdb:error,2012-09-05T21:31:14.297,n_2@10.17.21.241:<0.6715.0>:couch_log:error:42]Set view `default`, replica group `_design/dev_t`, received error from updater:

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

      [couchdb:info,2012-09-05T21:31:17.856,n_2@10.17.21.241:<0.6715.0>:couch_log:info:39]Starting updater for set view `default`, replica group `_design/dev_t`
      [couchdb:info,2012-09-05T21:31:17.856,n_2@10.17.21.241:<0.9753.0>:couch_log:info:39]Updater for set view `default`, replica group `_design/dev_t` started

      in logs. Will attach logs from this box.

      1. 158.couch.4.xz
        350 kB
        Aleksey Kondratenko
      2. 252.couch.1.xz
        1.13 MB
        Aleksey Kondratenko
      3. 253.couch.1.xz
        1.13 MB
        Aleksey Kondratenko
      4. ns-diag-20120905213312.txt.xz
        411 kB
        Aleksey Kondratenko
      5. ns-diag-20121023170207.txt.xz
        832 kB
        Aleksey Kondratenko
      1. corrupt2.png
        166 kB
      2. corruption.png
        383 kB
      3. Untitled 2 vs Untitled.png
        167 kB
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        alkondratenko Aleksey Kondratenko (Inactive) created issue -
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Field Original Value New Value
        Attachment ns-diag-20120905213312.txt.xz [ 14784 ]
        FilipeManana Filipe Manana (Inactive) made changes -
        Summary File corruption of just built index Database file corruption
        Component/s storage-engine [ 10175 ]
        Component/s view-engine [ 10060 ]
        FilipeManana Filipe Manana (Inactive) made changes -
        Assignee Filipe Manana [ filipemanana ] Damien Katz [ damien ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Attachment 252.couch.1.xz [ 14802 ]
        Attachment 253.couch.1.xz [ 14803 ]
        damien damien made changes -
        Assignee Damien Katz [ damien ] Aaron Miller [ aaron ]
        aaron Aaron Miller (Inactive) made changes -
        Attachment corruption.png [ 14924 ]
        aaron Aaron Miller (Inactive) made changes -
        Attachment corrupt2.png [ 14928 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0-beta [ 10113 ]
        Affects Version/s 2.0-beta [ 10113 ]
        peter peter made changes -
        Fix Version/s 2.0-beta-refresh [ 10385 ]
        Fix Version/s 2.0-beta [ 10113 ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary Database file corruption CRCs dont match when reading data from couch file after compaction
        farshid Farshid Ghods (Inactive) made changes -
        Summary CRCs dont match when reading data from couch file after compaction CRCs dont match when reading data from couch file
        farshid Farshid Ghods (Inactive) made changes -
        Labels 2.0-beta-release-notes
        dipti Dipti Borkar made changes -
        Summary CRCs dont match when reading data from couch file In rare cases CRC codes dont match when reading data from couch file
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0 [ 10114 ]
        Fix Version/s 2.0-beta-2 [ 10385 ]
        damien damien made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Cannot Reproduce [ 5 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Attachment 158.couch.4.xz [ 15535 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Attachment ns-diag-20121023170207.txt.xz [ 15536 ]
        aaron Aaron Miller (Inactive) made changes -
        Attachment Untitled 2 vs Untitled.png [ 15541 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Incomplete [ 4 ]

          People

          • Assignee:
            aaron Aaron Miller (Inactive)
            Reporter:
            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