hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15956) Modify queue naming standards to speed up ReplicationQueuesHBaseImpl
Date Fri, 03 Jun 2016 18:47:59 GMT
Joseph created HBASE-15956:
------------------------------

             Summary: Modify queue naming standards to speed up ReplicationQueuesHBaseImpl
                 Key: HBASE-15956
                 URL: https://issues.apache.org/jira/browse/HBASE-15956
             Project: HBase
          Issue Type: Sub-task
            Reporter: Joseph
            Assignee: Joseph


Currently when a server builds a new Replication Queue its row key in HBase will be saved
as [server0 + "-" + queueId0]. This original server will make calls to getLogPosition(), setLogPosition(),
removeQueue(), etc with the argument String queueId = queueId0. So for the original server
we can look up the row key by concatenating servername + queueId0. Yet if this queue is ever
claimed by another server, the new server will make the calls to those functions with the
argument String queueId = queueId0 + "-" + oldServer1 + "-" + oldServer2... 
So we have to track String queueId as a separate column within HBase and perform scans on
this column to find the proper row key each time. 
Consider an update where we parse out the row key from these two types of queueId's or saving
a different String queueId in the new servers



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message