You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2016/07/11 19:36:11 UTC
[jira] [Commented] (HBASE-16208) Make
TableBasedReplicationQueuesImpl check that queue exists before attempting
to remove it
[ https://issues.apache.org/jira/browse/HBASE-16208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371472#comment-15371472 ]
Elliott Clark commented on HBASE-16208:
---------------------------------------
Is there a race here? Could someone be trying to add that exact queue while you are trying to delete it?
> Make TableBasedReplicationQueuesImpl check that queue exists before attempting to remove it
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-16208
> URL: https://issues.apache.org/jira/browse/HBASE-16208
> Project: HBase
> Issue Type: Sub-task
> Components: Replication
> Reporter: Joseph
> Assignee: Joseph
> Attachments: HBASE-16208.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)