use CompactionType.Lookup instead of CompactionType.Scan

This commit is contained in:
sebastianburckhardt 2024-07-25 12:36:54 -07:00
Родитель 876d7f951d
Коммит b4d51d6c51
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -587,7 +587,7 @@ namespace DurableTask.Netherite.Faster
using (this.TrackTemporarySession(session)) using (this.TrackTemporarySession(session))
{ {
this.blobManager.TraceHelper.FasterProgress($"Compaction {id} is invoking FASTER's compaction routine"); 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( this.TraceHelper.FasterCompactionProgress(
FasterTraceHelper.CompactionProgress.Completed, FasterTraceHelper.CompactionProgress.Completed,