1
0
mirror of https://github.com/facebook/rocksdb.git synced 2026-10-23 08:09:02 +03:00
Files
rocksdb/util
Anand Ananthabhotla 92a6308300 Verify compressed block bytes after checksum computation (#15098)
Summary:
Pull Request resolved: https://github.com/facebook/rocksdb/pull/15098

Compute the base block checksum in `CompressAndVerifyBlock()` before `verify_compression` decompresses the compressed output. Parallel compression stores that base checksum on the block rep so worker threads can keep the CPU-heavy checksum and verification work off the ordered write path; the writer only applies the offset context modifier before writing the trailer.

Update the regression test to cover both serial and parallel compression paths.

Reviewed By: pdillinger

Differential Revision: D115950785

fbshipit-source-id: b5e47f7d7c41680e7e7907443fc805bc0d043d6e
2026-08-17 12:34:23 -07:00
..
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2021-08-20 18:41:51 -07:00
2026-02-13 11:56:22 -08:00
2024-05-28 15:33:57 -07:00
2026-02-13 11:56:22 -08:00