Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3335

check for edit log corruption at the end of the log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 2.0.2-alpha
    • None
    • None
    • Reviewed

    Description

      Even after encountering an OP_INVALID, we should check the end of the edit log to make sure that it contains no more edits.

      This will catch things like rare race conditions or log corruptions that would otherwise remain undetected. They will got from being silent data loss scenarios to being cases that we can detect and fix.

      Using recovery mode, we can choose to ignore the end of the log if necessary.

      Attachments

        1. HDFS-3335-b1.004.patch
          11 kB
          Colin McCabe
        2. HDFS-3335-b1.003.patch
          10 kB
          Colin McCabe
        3. HDFS-3335-b1.002.patch
          10 kB
          Colin McCabe
        4. HDFS-3335-b1.001.patch
          10 kB
          Colin McCabe
        5. HDFS-3335.011.patch
          25 kB
          Colin McCabe
        6. HDFS-3335.010.patch
          24 kB
          Colin McCabe
        7. HDFS-3335.009.patch
          24 kB
          Colin McCabe
        8. HDFS-3335.008.patch
          23 kB
          Colin McCabe
        9. HDFS-3335.007.patch
          25 kB
          Colin McCabe
        10. HDFS-3335.006.patch
          25 kB
          Colin McCabe
        11. HDFS-3335.005.patch
          24 kB
          Colin McCabe
        12. HDFS-3335.004.patch
          24 kB
          Colin McCabe
        13. HDFS-3335.003.patch
          23 kB
          Colin McCabe
        14. HDFS-3335.002.patch
          23 kB
          Colin McCabe
        15. HDFS-3335.001.patch
          9 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: