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-06-08 14:26:46 -07:00
2024-05-28 15:33:57 -07:00
2025-05-16 21:25:50 -07:00
2026-06-08 14:26:46 -07:00
2026-04-02 07:31:56 -07:00
2026-08-11 14:29:51 -07:00
2026-08-11 14:29:51 -07:00
2024-12-19 10:58:40 -08:00
2024-12-19 10:58:40 -08:00
2026-01-05 20:47:46 -08:00
2026-02-13 11:56:22 -08:00
2026-08-12 14:31:47 -07:00
2023-01-27 13:14:19 -08:00
2026-07-15 13:34:03 -07:00
2021-09-10 10:00:26 -07:00
2026-06-08 14:26:46 -07:00
2021-12-16 17:15:13 -08:00
2026-05-06 19:27:14 -07:00
2022-10-26 12:08:20 -07:00
2026-02-23 12:42:05 -08:00
2025-09-11 12:19:11 -07:00
2024-05-13 15:43:12 -07:00
2023-12-01 11:15:17 -08:00
2020-02-20 12:09:57 -08:00
2026-08-17 12:34:23 -07:00
2026-08-11 14:29:51 -07:00
2026-06-11 14:10:21 -07:00
2022-10-26 12:08:20 -07:00
2024-01-31 13:14:42 -08:00
2023-08-02 11:30:10 -07:00
2026-08-10 09:43:05 -07:00
2026-08-10 09:43:05 -07:00
2026-08-10 09:43:05 -07:00
2026-02-13 11:56:22 -08:00
2026-02-13 11:56:22 -08:00
2020-12-01 11:21:44 -08:00
2019-05-21 16:22:35 -07:00
2024-12-19 10:58:40 -08:00
2026-02-13 11:56:22 -08:00
2024-03-04 10:08:32 -08:00
2024-03-04 10:08:32 -08:00
2024-01-29 10:38:08 -08:00
2025-06-03 19:03:38 -07:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2026-05-11 17:02:22 -07:00
2023-10-12 10:05:23 -07:00
2023-01-27 13:14:19 -08:00
2026-02-13 11:56:22 -08:00
2025-08-14 21:54:52 -07:00
2025-08-14 21:54:52 -07:00
2021-09-10 10:00:26 -07:00
2024-12-06 13:29:52 -08:00
2026-07-23 19:07:17 -07:00
2025-10-01 18:20:35 -07:00
2024-03-19 16:17:57 -07: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
2022-04-13 07:34:01 -07:00
2020-03-20 14:59:54 -07:00
2026-02-13 11:56:22 -08:00
2021-10-18 23:32:01 -07:00
2024-01-29 10:38:08 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2026-05-18 13:35:11 -07:00
2026-07-24 13:51:09 -07:00
2026-02-06 11:29:30 -08:00
2026-07-24 13:51:09 -07:00
2022-10-26 12:08:20 -07:00
2023-12-29 15:29:23 -08:00
2023-08-02 11:30:10 -07:00
2026-01-27 01:26:28 -08:00
2024-01-24 07:39:59 -08:00
2022-10-26 12:08:20 -07:00
2026-04-23 18:59:14 -07:00
2023-09-13 09:50:44 -07:00
2024-12-19 10:58:40 -08:00
2026-05-06 19:27:14 -07:00
2022-10-26 12:08:20 -07:00
2024-05-28 15:33:57 -07:00
2022-10-26 12:08:20 -07:00
2026-07-23 19:07:17 -07:00
2026-07-01 19:04:40 -07:00
2026-06-29 16:22:57 -07:00
2024-02-07 10:44:11 -08:00
2021-03-15 04:34:11 -07:00
2026-02-13 11:56:22 -08:00
2024-03-04 10:08:32 -08:00
2021-02-26 08:50:42 -08:00
2024-01-24 08:20:50 -08:00
2023-04-12 13:24:34 -07:00
2025-09-14 07:38:00 -07:00
2021-09-10 10:00:26 -07:00
2026-01-23 10:01:50 -08:00
2026-01-23 10:01:50 -08:00
2023-07-18 15:38:52 -07:00
2026-08-17 12:08:59 -07:00
2026-02-17 23:33:39 -08:00
2026-07-25 14:18:27 -07:00
2026-01-30 05:53:04 -08:00
2024-05-06 08:53:06 -07:00
2024-07-08 15:59:02 -07:00
2026-02-26 19:16:12 -08:00
2026-06-01 17:07:11 -07:00
2026-06-01 17:07:11 -07:00
2025-06-20 17:39:47 -07:00
2021-03-25 22:08:58 -07:00
2025-11-04 19:47:42 -08:00
2023-01-27 13:14:19 -08:00
2024-03-04 10:08:32 -08:00
2022-10-26 12:08:20 -07:00
2026-08-07 12:08:03 -07:00
2025-11-04 19:47:42 -08:00
2024-01-31 13:14:42 -08:00
2025-07-02 17:31:16 -07:00
2022-10-26 12:08:20 -07:00
2022-10-18 00:35:35 -07:00
2022-10-26 12:08:20 -07:00
2026-07-20 16:32:42 -07:00
2026-07-20 16:32:42 -07:00
2025-04-17 13:19:52 -07:00
2022-10-21 12:27:50 -07:00
2024-01-31 13:14:42 -08:00
2022-10-18 00:35:35 -07:00
2021-09-10 10:00:26 -07:00
2023-05-22 14:28:58 -07:00
2024-05-23 20:26:57 -07:00
2022-10-26 12:08:20 -07:00
2024-06-26 07:26:20 -07:00
2026-07-29 14:21:15 -07:00