implement index dump

This commit is contained in:
Marin Postma
2021-05-24 18:16:35 +02:00
parent 7ad553670f
commit 4acbe8e473
8 changed files with 79 additions and 55 deletions

View File

@ -109,7 +109,7 @@ pub trait IndexActorHandle {
index_settings: IndexSettings,
) -> IndexResult<IndexMeta>;
async fn snapshot(&self, uuid: Uuid, path: PathBuf) -> IndexResult<()>;
async fn dump(&self, uid: String, uuid: Uuid, path: PathBuf) -> IndexResult<()>;
async fn dump(&self, uuid: Uuid, path: PathBuf) -> IndexResult<()>;
async fn get_index_stats(&self, uuid: Uuid) -> IndexResult<IndexStats>;
}