Merge pull request #25432 from overleaf/em-redis-buffer-strict-apply

Use strict validation for the Redis buffer

GitOrigin-RevId: 43e73af5deabbf3de9f5eed14f062acc5fa35e36
This commit is contained in:
Brian Gough
2025-05-08 15:38:33 +01:00
committed by Copybot
parent 9cf284aefa
commit dc73a18ca4

View File

@@ -206,7 +206,7 @@ async function persistChanges(projectId, allChanges, limits, clientEndVersion) {
// doesn't really need a blobStore, but its signature still requires it.
const blobStore = new BlobStore(projectId)
await hollowSnapshot.loadFiles('hollow', blobStore)
hollowSnapshot.applyAll(changesToPersist)
hollowSnapshot.applyAll(changesToPersist, { strict: true })
const baseVersion = currentChunk.getEndVersion()
await redisBackend.queueChanges(
projectId,