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

If a server's lease times out or the server dies, All regions will get reassigned even split or offline ones.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.2.0, 0.2.1, 0.18.0
    • 0.2.1, 0.18.0
    • None
    • None

    Description

      If a server's lease times out or a server dies (essentially the same thing), when the master tries to find the regions it was serving, it does not check to see if the region has been offlined or split.

      In ProcessServerShutdown.scanMetaRegion, the code:

              } else {
                // Get region reassigned
                regions.add(info);
              }
      

      should be:

              } else {
                if (!info.isOffline() && !info.isSplit()) {
                  // Get region reassigned
                  regions.add(info);
                }
              }
      

      Attachments

        1. hbase-881.patch
          0.7 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jimk Jim Kellerman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: