Skip to content

Commit 0c632bc

Browse files
authored
Merge pull request #328 from cloudflare/bcaimano/actor-cache-delete-flush-bug
Bugfix: Assert upon counted deletes not muted deletes in actor cache …
2 parents 98e7775 + bf04a69 commit 0c632bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workerd/io/actor-cache.c++

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ kj::Promise<void> ActorCache::flushImplUsingTxn(
26452645
auto request = txn.deleteRequest(capnp::MessageSize { 4 + batch.wordCount, 0 });
26462646
auto listBuilder = request.initKeys(batch.pairCount);
26472647
for (size_t i = 0; i < batch.pairCount; ++i) {
2648-
KJ_ASSERT(entryIt != mutedDeleteFlush.entries.end());
2648+
KJ_ASSERT(entryIt != flush.entries.end());
26492649
auto& entry = **(entryIt++);
26502650
listBuilder.set(i, entry.key.asBytes());
26512651
}

0 commit comments

Comments
 (0)