From 16fcd9b8b5b5d7ff7ee63280bb0fe8b1aa729dbe Mon Sep 17 00:00:00 2001 From: Sebastian Burckhardt Date: Fri, 26 Jul 2024 08:59:18 -0700 Subject: [PATCH] use CompactionType.Lookup instead of CompactionType.Scan (#408) --- src/DurableTask.Netherite/StorageLayer/Faster/FasterKV.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DurableTask.Netherite/StorageLayer/Faster/FasterKV.cs b/src/DurableTask.Netherite/StorageLayer/Faster/FasterKV.cs index cf3bf8d..9758823 100644 --- a/src/DurableTask.Netherite/StorageLayer/Faster/FasterKV.cs +++ b/src/DurableTask.Netherite/StorageLayer/Faster/FasterKV.cs @@ -587,7 +587,7 @@ namespace DurableTask.Netherite.Faster using (this.TrackTemporarySession(session)) { this.blobManager.TraceHelper.FasterProgress($"Compaction {id} is invoking FASTER's compaction routine"); - long compactedUntil = session.Compact(target, CompactionType.Scan); + long compactedUntil = session.Compact(target, CompactionType.Lookup); this.TraceHelper.FasterCompactionProgress( FasterTraceHelper.CompactionProgress.Completed,