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

DATALOSS: Region assigned before WAL replay when abort

    XMLWordPrintableJSON

Details

    • Reviewed
    • 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. 13895.master.patch
          21 kB
          Michael Stack
        3. hbase-13895_addendum.patch
          7 kB
          Enis Soztutar
        4. hbase-13895_addendum-master.patch
          5 kB
          Enis Soztutar
        5. 13895.branch-1.2.txt
          3 kB
          Michael Stack
        6. 13895.master.addendum2.txt
          2 kB
          Michael Stack
        7. hbase-13895_addendum3-branch-1.1.patch
          1 kB
          Enis Soztutar
        8. hbase-13895_addendum3-branch-1.patch
          1 kB
          Enis Soztutar
        9. hbase-13895_addendum3-master.patch
          1 kB
          Enis Soztutar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: