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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Region Assignment
    • Labels:
      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. reading_bad_wal.patch
          8 kB
          Michael Stack
        2. pv2-00000000000000000047.log
          46 kB
          Michael Stack
        3. pv2-00000000000000000036.log
          127 kB
          Michael Stack
        4. hbase-hbase-master-ctr-e138-1518143905142-221855-01-000002.hwx.site.log.gz
          965 kB
          Josh Elser
        5. HBASE-18152.master.001.patch
          13 kB
          Michael Stack
        6. 0001-TestWALProcedureExecutore-order-checking-test-that-d.patch
          18 kB
          Michael Stack

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: