Skip to content

Commit

Permalink
Fix protobuf error at Windmill.persistDirect() when there is a removal
Browse files Browse the repository at this point in the history
  • Loading branch information
baeminbo committed Oct 23, 2024
1 parent 7e346ad commit 8245b34
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ protected Windmill.WorkItemCommitRequest persistDirectly(WindmillStateCache.ForK
commitBuilder
.addValueUpdatesBuilder()
.setTag(keyBytes)
.setStateFamily(stateFamily)
.getValueBuilder()
.setTimestamp(Long.MAX_VALUE);
.setStateFamily(stateFamily);

V cachedValue = cachedValues.remove(key);
if (cachedValue != null) {
Expand Down

0 comments on commit 8245b34

Please sign in to comment.