Skip to content

Commit b332b0e

Browse files
committed
fix
1 parent 248287b commit b332b0e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libs/server/Storage/Functions/ObjectStore/UpsertMethods.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ public bool InPlaceWriter(ref LogRecord logRecord, in RecordSizeInfo sizeInfo, r
109109
if (!(input.arg1 == 0 ? logRecord.RemoveExpiration() : logRecord.TrySetExpiration(input.arg1)))
110110
return false;
111111

112-
Debug.Assert(input.metaCommandInfo.MetaCommand is RespMetaCommand.None or RespMetaCommand.ExecWithETag);
113-
114112
// Conditional execution is expected to pass here - we shouldn't call upsert with conditional a meta-command
115113
// Calling this method to get the updated ETag
116114
var execOp = input.metaCommandInfo.CheckConditionalExecution(logRecord.ETag, out var updatedETag, initContext: true);

0 commit comments

Comments
 (0)