Skip to content

Commit

Permalink
revert temporary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianburckhardt committed Jun 21, 2022
1 parent 9a1197e commit 1e60b9a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/DurableTask.Netherite/StorageProviders/Faster/FasterKV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1642,14 +1642,11 @@ bool IFunctions<Key, Value, EffectTracker, Output, object>.ConcurrentDeleter(ref
{
long removed = value.EstimatedSize;

// For the time being, we comment out the path below until FASTER passes in the correct info
// see https://github.com/microsoft/FASTER/issues/706

// If record is marked invalid (failed to insert), dispose key as well
//if (info.RecordInfo.Invalid)
//{
// removed += key.Val.EstimatedSize;
//}
if (info.RecordInfo.Invalid)
{
removed += key.Val.EstimatedSize;
}

this.cacheTracker.UpdateTrackedObjectSize(-removed, key, info.Address);
this.cacheDebugger?.UpdateReferenceValue(ref key.Val, null, 0);
Expand Down

0 comments on commit 1e60b9a

Please sign in to comment.