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

Matteo Bertozzi commented on HBASE-8446:
----------------------------------------

{quote}What does this comment say? Thread number can be >1.{quote}
yes, there's a thread pool that runs the snapshot task... so if you've 1 your 
request are enqueued

{quote}What ensures that put doesn't replace the old value?{quote}
All the logic before, you get in there if there're no other snapshot/restore 
running on the same table and the snapshot doesn't exists. you may replace the 
old value if is in a finished state, that means finished but with an error. so 
in this case you are starting another task to "take the same snapshot"
                
> Allow parallel snapshot of different tables
> -------------------------------------------
>
>                 Key: HBASE-8446
>                 URL: https://issues.apache.org/jira/browse/HBASE-8446
>             Project: HBase
>          Issue Type: Improvement
>          Components: snapshots
>    Affects Versions: 0.95.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.95.2
>
>         Attachments: HBASE-8446-94.patch, HBASE-8446-v0.patch, 
> HBASE-8446-v1.patch, HBASE-8446-v2.patch, HBASE-8446-v3.patch, 
> HBASE-8446-v4.patch
>
>
> currently only one snapshot at the time is allowed.
> Like for the restore, we should allow taking snapshot of different tables in 
> parallel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to