@GridInternal public class IncrementalSnapshotVerificationTask extends AbstractSnapshotVerificationTask
metas| Constructor and Description |
|---|
IncrementalSnapshotVerificationTask() |
| Modifier and Type | Method and Description |
|---|---|
protected ComputeJob |
createJob(String name,
@Nullable String path,
int incIdx,
String constId,
Collection<String> groups,
boolean check) |
SnapshotPartitionsVerifyTaskResult |
reduce(List<ComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
ComputeTaskFuture.get() method. |
checkMissedMetadata, map, resultpublic SnapshotPartitionsVerifyTaskResult reduce(List<ComputeJobResult> results) throws IgniteException
ComputeTaskFuture.get() method.
Note, that if some jobs did not succeed and could not be failed over then the list of results passed into this method will include the failed results. Otherwise, failed results will not be in the list.
results - Received results of broadcasted remote executions. Note that if task class has
ComputeTaskNoResultCache annotation, then this list will be empty.IgniteException - If reduction or results caused an error. This exception will
be thrown out of ComputeTaskFuture.get() method.protected ComputeJob createJob(String name, @Nullable @Nullable String path, int incIdx, String constId, Collection<String> groups, boolean check)
createJob in class AbstractSnapshotVerificationTaskname - Snapshot name.path - Snapshot directory path.incIdx - Incremental snapshot index.constId - Snapshot metadata file name.groups - Cache groups to be restored from the snapshot. May be empty if all cache groups are being restored.check - If true check snapshot before restore.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023