@Throws(InterruptedException::class, KeeperException::class) fun deleteCollectionLevelSnapshot( zkClient:  SolrZkClient, collectionName: String?, commitName: String? ) { val zkPath: String = getSnapshotMetaDataZkPath(collectionName, Optional.of(commitName)) zkClient.delete(zkPath, -1, true) }
This method deletes an entry for the named snapshot for the specified collection in Zookeeper .