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

mutation log in ep-engine needs better crash recovery

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • June 30 - July 18

    Description

      If ep-engine was in the middle of updating a mutation log entry and crashed, the next warmup phase assumes a properly written access log.
      If the access log was written incompletely, it does not attempt to do a best-effort read and recovery to last seen good point.
      iterator::nextBlock() returns ShortReadException if the read was not a multiple of block size, and does not truncate the file up to the last seen block
      If during warmup CRC check on mutation log (access log) block fails, error is not handled.
      These fixes are necessary for avoiding the mutation log corruption issue seen in MB-9864

      Attachments

        Issue Links

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

          Activity

            People

              parag Parag Agarwal (Inactive)
              sundar Sundar Sridharan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty