Add timeout on snapshot of data (#1672)
Release snapshot when finishing or cancelling backup/restore job. Snapshot may takes a lot disk space if not releasing them in time.
This commit is contained in:
@ -125,7 +125,7 @@ public class AgentTaskTest {
|
||||
// clone
|
||||
cloneTask =
|
||||
new CloneTask(backendId1, dbId, tableId, partitionId, indexId1, tabletId1, schemaHash1,
|
||||
Arrays.asList(new TBackend("host1", 8290, 8390)), TStorageMedium.HDD, -1, -1);
|
||||
Arrays.asList(new TBackend("host1", 8290, 8390)), TStorageMedium.HDD, -1, -1, 3600);
|
||||
|
||||
// rollup
|
||||
rollupTask =
|
||||
|
||||
Reference in New Issue
Block a user