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

[replication] failover is sloppy with znodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.90.1
    • 0.90.2
    • None
    • None
    • Reviewed

    Description

      ReplicationZookeeper is a bit sloppy in how it handles the znodes during failover:

      • when creating the lock, it doesn't cleanly handle the situation where the parent znode might already be deleted.
      • when deleting the znodes after a successful move, it doesn't make sure to delete the lock znode last.
      • after deleting the lock, there's a window where another region server could have already created another lock and deleted the znodes which would abort the first region server (saw it on one cluster).

      Attachments

        1. HBASE-3648.patch
          2 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: