Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18152

[AMv2] Corrupt Procedure WAL file; procedure data stored out of order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 2.0.0
    • None
    • Region Assignment
    • None

    Description

      I've seen corruption from time-to-time testing. Its rare enough. Often we can get over it but sometimes we can't. It took me a while to capture an instance of corruption. Turns out we are write to the WAL out-of-order which undoes a basic tenet; that WAL content is ordered in line w/ execution.

      Below I'll post a corrupt WAL.

      Looking at the write-side, there is a lot going on. I'm not clear on how we could write out of order. Will try and get more insight. Meantime parking this issue here to fill data into.

      Attachments

        1. 0001-TestWALProcedureExecutore-order-checking-test-that-d.patch
          18 kB
          Michael Stack
        2. HBASE-18152.master.001.patch
          13 kB
          Michael Stack
        3. hbase-hbase-master-ctr-e138-1518143905142-221855-01-000002.hwx.site.log.gz
          965 kB
          Josh Elser
        4. pv2-00000000000000000036.log
          127 kB
          Michael Stack
        5. pv2-00000000000000000047.log
          46 kB
          Michael Stack
        6. reading_bad_wal.patch
          8 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: