Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15867 Move HBase replication tracking from ZooKeeper to HBase
  3. HBASE-16208

Make TableBasedReplicationQueuesImpl check that queue exists before attempting to remove it

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Replication
    • None
    • Reviewed

    Description

      Currently calling TableBasedReplicationQueuesImpl.removeQueue(String queueId) will cause it to delete the row with the given queue id. Yet this row is not created until the first log is registered for the queue. This causes the server to abort if we every try to remove a queue that has not had a log registered to it yet.

      Attachments

        1. HBASE-16208-v2.patch
          3 kB
          Joseph
        2. HBASE-16208-v1.patch
          4 kB
          Joseph
        3. HBASE-16208.patch
          3 kB
          Joseph

        Activity

          People

            Vegetable26 Joseph
            Vegetable26 Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: