We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 179e765 commit a2471dcCopy full SHA for a2471dc
1 file changed
libsql-server/src/replication/primary/logger.rs
@@ -935,6 +935,9 @@ impl ReplicationLogger {
935
let snapshot_path = data_path.parent().unwrap().join("snapshots");
936
// best effort, there may be no snapshots
937
let _ = remove_dir_all(snapshot_path);
938
+ let to_compact_path = data_path.parent().unwrap().join("to_compact");
939
+ // best effort, there may nothing to compact
940
+ let _ = remove_dir_all(to_compact_path);
941
942
let data_file = File::open(&data_path)?;
943
let size = data_path.metadata()?.len();
0 commit comments