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

[FDB ERR] doc_length body checksum mismatch error during the full compaction

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.5.0
    • 4.5.0
    • forestdb

    Description

      Running 2i system test with forestdb full_compaction mode causes these checksum mismatches to occur:

      curl localhost:9102/settings -u Administrator:password -d '

      {"indexer.settings.compaction.compaction_mode":"full"}

      '

      indexer.log.8.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.21' crc d6 != d1 (crc in doc) keylen 12307 metalen 85 bodylen 65536 bodylen_ondisk 0 offset 1030979584
      indexer.log.9.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.15' crc d6 != b8 (crc in doc) keylen 56895 metalen 24 bodylen 524288 bodylen_ondisk 0 offset 1124962304
      indexer.log.9.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.19' crc b2 != 7e (crc in doc) keylen 28480 metalen 80 bodylen 1048576 bodylen_ondisk 0 offset 1114705920
      indexer.log.9.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.21' crc d6 != d1 (crc in doc) keylen 12307 metalen 85 bodylen 65536 bodylen_ondisk 0 offset 1030979584
      indexer.log.9.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.21' crc d6 != d1 (crc in doc) keylen 12307 metalen 85 bodylen 65536 bodylen_ondisk 0 offset 1030979584
      indexer.log.9.gz:[FDB ERR] doc_length body checksum mismatch error in a database file '/data/@2i/default_default_rating_1811802564999811631_0.index/data.fdb.21' crc d6 != d1 (crc in doc) keylen 12307 metalen 85 bodylen 65536 bodylen_ondisk 0 offset 1030979584
      

      http://qa.sc.couchbase.com/job/centos-systest-launcher/4/console

      Attachments

        Issue Links

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

          Activity

            Quick update - I just ran fdb_compact_upto( 5th db header ) on the data.fdb.21 file and was successfully able to create a newly compacted file, which means if the indexer does the same task, it will likely succeed. Still investigating the root cause of the issue.

            sundar Sundar Sridharan (Inactive) added a comment - - edited Quick update - I just ran fdb_compact_upto( 5th db header ) on the data.fdb.21 file and was successfully able to create a newly compacted file, which means if the indexer does the same task, it will likely succeed. Still investigating the root cause of the issue.

            Trying to reproduce this with testcase locally.. since compact_upto on the file succeeds.

            sundar Sundar Sridharan (Inactive) added a comment - Trying to reproduce this with testcase locally.. since compact_upto on the file succeeds.
            jung-sang Jung-Sang Ahn (Inactive) added a comment - Test case to reproduce: http://review.couchbase.org/#/c/64438/

            The following fix was merged:

            http://review.couchbase.org/#/c/64439/

            Tommie,
            Please verify it when the new build is available.

            chiyoung Chiyoung Seo (Inactive) added a comment - The following fix was merged: http://review.couchbase.org/#/c/64439/ Tommie, Please verify it when the new build is available.

            4.5.0-2594 Looking good, test just finished without these errors

            tommie Tommie McAfee added a comment - 4.5.0-2594 Looking good, test just finished without these errors

            People

              tommie Tommie McAfee
              tommie Tommie McAfee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty