Skip to content

Conversation

coyotte508
Copy link
Member

follow up #1771

@coyotte508 coyotte508 merged commit 6b84e01 into main Oct 1, 2025
5 checks passed
@coyotte508 coyotte508 deleted the chunk-cache-again branch October 1, 2025 07:47
coyotte508 added a commit that referenced this pull request Oct 1, 2025
Update the chunk indexes in the chunkCache after deduplication to match
the new xorb chunks.

The problem happens if a previous chunk in the xorb is removed during
backtrack deduplication. Then the chunk indexes for the following chunks
in teh xorb were updated in the passed `chunkMetadata` array, but not in
the chunkCache.

Which meant that if the chunks were requested again eg (due to uploading
another file with shared content in the same `uploadShards` call) the
chunk indexes provided would be incorrect.

cc @assafvayner @mishig25 for viz

Follow up #1771 and #1779

---

Also improved the debug/replay script to support multiple files upload,
and added a test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant