From 035e8eeff58307fdf57dda5039ae54a1d748cfeb Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 26 Oct 2022 10:53:27 +0200 Subject: [PATCH] Clean-up some TODOs --- index-scheduler/src/batch.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/index-scheduler/src/batch.rs b/index-scheduler/src/batch.rs index c3f8d93f5..69c14e8ea 100644 --- a/index-scheduler/src/batch.rs +++ b/index-scheduler/src/batch.rs @@ -559,12 +559,9 @@ impl IndexScheduler { let temp_snapshot_dir = tempfile::tempdir()?; // 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); 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 // // When we call copy_to_path, LMDB opens a read transaction by itself,