hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16566) Add nonce support to TableBackupProcedure
Date Wed, 07 Sep 2016 18:32:21 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15471437#comment-15471437
] 

Ted Yu commented on HBASE-16566:
--------------------------------

Looking at existing test in TestCreateTableProcedure#testCreateTwiceWithSameNonce :
{code}
  ProcedureTestingUtility.waitProcedure(procExec, procId1);
{code}
Backing up a small table would take non-trivial time.
I would skip adding test for this one.

> Add nonce support to TableBackupProcedure
> -----------------------------------------
>
>                 Key: HBASE-16566
>                 URL: https://issues.apache.org/jira/browse/HBASE-16566
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 16566.v2.txt
>
>
> We should pass in nonce to avoid duplicate table backup RPC (the same RPC sent to server
multiple times).
> The duplicate table backup RPC may happen due to master failover.
> If there is no nonce, same procedure may be executed more than once.



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

Mime
View raw message