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

DATALOSS: Region assigned before WAL replay when abort

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      If the master went to assign a region concurrent with a RegionServer abort, the returned RegionServerAbortedException was being handled as though the region had been cleanly offlined so assign was allowed proceed. If the region was opened in its new location before WAL replay completion, the replayed edits were ignored, worst case, or were later played over the top of edits that had come in since open and so susceptible to overwrite. In either case, DATALOSS.
      Show
      If the master went to assign a region concurrent with a RegionServer abort, the returned RegionServerAbortedException was being handled as though the region had been cleanly offlined so assign was allowed proceed. If the region was opened in its new location before WAL replay completion, the replayed edits were ignored, worst case, or were later played over the top of edits that had come in since open and so susceptible to overwrite. In either case, DATALOSS.

      Description

      Opening a place holder till finish analysis.

      I have dataloss running ITBLL at 3B (testing HBASE-13877). Most obvious culprit is the double-assignment that I can see.

        Attachments

        1. hbase-13895_v1-branch-1.1.patch
          27 kB
          Enis Soztutar
        2. hbase-13895_addendum-master.patch
          5 kB
          Enis Soztutar
        3. hbase-13895_addendum3-master.patch
          1 kB
          Enis Soztutar
        4. hbase-13895_addendum3-branch-1.patch
          1 kB
          Enis Soztutar
        5. hbase-13895_addendum3-branch-1.1.patch
          1 kB
          Enis Soztutar
        6. hbase-13895_addendum.patch
          7 kB
          Enis Soztutar
        7. 13895.master.patch
          21 kB
          Michael Stack
        8. 13895.master.addendum2.txt
          2 kB
          Michael Stack
        9. 13895.branch-1.2.txt
          3 kB
          Michael Stack
        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:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: