Class DeleteBackupCmd
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.DeleteBackupCmd
-
- All Implemented Interfaces:
CollApiCmds.CollectionApiCommand
public class DeleteBackupCmd extends Object implements CollApiCmds.CollectionApiCommand
An overseer command used to delete files associated with incremental backups.This assumes use of the incremental backup format, and not the (now deprecated) traditional 'full-snapshot' format. The deletion can either delete a specific
BackupId
, delete everything except the most recent N backup points, or can be used to trigger a "garbage collection" of unused index files in the backup repository.
-
-
Constructor Summary
Constructors Constructor Description DeleteBackupCmd(CollectionCommandContext ccc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(org.apache.solr.common.cloud.ClusterState state, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results)
-
-
-
Constructor Detail
-
DeleteBackupCmd
public DeleteBackupCmd(CollectionCommandContext ccc)
-
-
Method Detail
-
call
public void call(org.apache.solr.common.cloud.ClusterState state, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results) throws Exception
- Specified by:
call
in interfaceCollApiCmds.CollectionApiCommand
- Throws:
Exception
-
-