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

Mallikarjun edited comment on HBASE-26034 at 6/17/22 1:44 PM:
--------------------------------------------------------------

In existing implementation, one can take single backup at a time. Which takes 
exclusive system wide lock and resulting into some problems, esp if you have 
rsgroup enabled with multiple tenants wanting to take backups with different 
intervals. 

Following are the list of changes in the PR.
 # Remove exclusive system wide lock and replace with table level locks with 
checkAndPut. Repairs in case of abruptly dead jobs. This helps in taking 
parallel table backup and configuring independent RPO
 # Take snapshot of backup table at the begining of backup and restore the 
snapshot at the end was unnecessary. This is removed as it serves no purpose 
and simplifying the logic.

These are the 2 changes. Because of posibility of multiple backups happening at 
any point of time. Had to change BackupId to List<BackupId> while handling 
sessions. These are the changes in this PR.

[~zhangduo] I have listed the changes above. If want any other information, 
please ask.

 

P.S: Thank you very much for taking time to look into this.


was (Author: rda3mon):
One can take single backup at a time. Which takes exclusive system wide lock 
and resulting into following problems, esp if you have rsgroup enabled with 
multiple tenants wanting to take backups with different intervals. 

Following are the list of changes in the PR.
 # Remove exclusive system wide lock and replace with table level locks with 
checkAndPut. Repairs in case of abruptly dead jobs. This helps in taking 
parallel backup and configuring independent RPO
 # Take snapshot of backup table at the begining of backup and restore the 
snapshot at the end was unnecessary. This is removed as it serves no purpose.

These are the 2 changes. Because of posibility of multiple backups happening at 
any point of time. Had to change BackupId to List<BackupId> while handling 
sessions. These are the changes in this PR.

[~zhangduo] I have listed the changes above. If want any other information, 
please ask.

 

P.S: Thank you very much for taking time to look into this.

> Add support to take parallel backups
> ------------------------------------
>
>                 Key: HBASE-26034
>                 URL: https://issues.apache.org/jira/browse/HBASE-26034
>             Project: HBase
>          Issue Type: Improvement
>          Components: backup&amp;restore
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Mallikarjun
>            Assignee: Mallikarjun
>            Priority: Major
>             Fix For: 3.0.0-alpha-4
>
>         Attachments: existing_design.png, proposed_design.png
>
>
> *Existing Design:*
> !existing_design.png|width=632,height=1238!
> *Proposed Changes:*
> *!proposed_design.png|width=637,height=1300!*



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to