mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Clean-up some TODOs
This commit is contained in:
parent
e35fe33712
commit
035e8eeff5
@ -559,12 +559,9 @@ impl IndexScheduler {
|
|||||||
let temp_snapshot_dir = tempfile::tempdir()?;
|
let temp_snapshot_dir = tempfile::tempdir()?;
|
||||||
|
|
||||||
// 1. Snapshot the version file.
|
// 1. Snapshot the version file.
|
||||||
// TODO where can I find the path of this file and do we create it anyway?
|
|
||||||
let dst = temp_snapshot_dir.path().join(VERSION_FILE_NAME);
|
let dst = temp_snapshot_dir.path().join(VERSION_FILE_NAME);
|
||||||
fs::copy(&self.version_file_path, dst)?;
|
fs::copy(&self.version_file_path, dst)?;
|
||||||
|
|
||||||
// TODO what is a meta-env in the previous version of the scheduler?
|
|
||||||
|
|
||||||
// 2. Snapshot the index-scheduler LMDB env
|
// 2. Snapshot the index-scheduler LMDB env
|
||||||
//
|
//
|
||||||
// When we call copy_to_path, LMDB opens a read transaction by itself,
|
// When we call copy_to_path, LMDB opens a read transaction by itself,
|
||||||
|
Loading…
Reference in New Issue
Block a user