Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1377

Log block manager metadata doesn't handle partial truncation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1
    • 0.9.0
    • fs
    • None

    Description

      If the log block manager's metadata file gets only partially written, this will result in failure to start up again. Since we are constantly appending, this is a problem since partial writes can occur when the disk fills up (among other potential error conditions like a system crash during a write).

      Pointer to the code in question: https://github.com/apache/incubator-kudu/blob/0.7.1/src/kudu/fs/log_block_manager.cc#L437

      Attachments

        Issue Links

          Activity

            People

              mpercy Mike Percy
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: