compass.pipeline.collection.persistence.reset_collection_manifest_shard#
- async reset_collection_manifest_shard(shard_dir, manifest_dir, jurisdiction)[source]#
Remove one collection checkpoint and its stale aggregate manifest
- Parameters:
shard_dir (path-like) – Directory containing jurisdiction collection shards.
manifest_dir (path-like) – Directory containing the aggregate collection manifest.
jurisdiction (
compass.utilities.jurisdictions.Jurisdiction) – Jurisdiction whose collection checkpoint should be reset.