[
https://issues.apache.org/jira/browse/HBASE-8446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644257#comment-13644257
]
Ted Yu commented on HBASE-8446:
-------------------------------
{code}
return execute(new MasterAdminCallable<TakeSnapshotResponse>() {
@Override
public TakeSnapshotResponse call() throws ServiceException {
return masterAdmin.snapshot(null, request);
{code}
Is it possible to pass a countdown latch to the above call() method, for
testing ?
TestFlushSnapshotFromClient#testConcurrentSnapshottingAttempts would pass the
same latch with initial value of 2 to takeSnapshotAsync(). In the call()
method, countDown() is called on the latch followed by await().
> 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-v0.patch, HBASE-8446-v1.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