Chris Lu and Devin
379abbe278
volume: repair torn tails on canDelete volumes; reject damaged 1-3 byte records ( #11876 )
...
- Go/Rust: run the unindexed .dat tail repair on noWriteCanDelete volumes
too — deletes still append tombstone records, so the same crash window
applies and they previously degraded to fully read-only.
- Go readTailNeedle: reject a positive size of 1-3 for v2+ as corrupted
before ReadBytes slices the body's 4-byte data-size field and panics;
a torn last record is now cut instead of crashing the load.
- Tests: TestVolumeLoadRepairsTailOnCanDeleteVolume and
TestVolumeLoadCutsDamagedSmallSizeTailOnCanDeleteVolume (Go), and the
Rust mirrors volume_load_repairs_tail_on_can_delete_volume /
volume_load_cuts_damaged_small_size_tail.
Generated with [Devin](https://devin.ai )
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-20 23:40:51 -07:00
..
2026-09-14 22:09:08 -07:00
2026-10-15 18:47:07 -07:00
2026-06-30 02:01:14 -07:00
2026-09-19 21:28:37 -07:00
2026-09-24 06:57:44 +08:00
2026-08-07 00:53:02 -07:00
2026-05-21 09:42:07 -07:00
2026-08-27 10:01:05 -07:00
2026-09-07 18:40:37 -07:00
2026-10-19 00:56:17 -07:00
2026-08-27 22:25:15 -07:00
2026-08-27 22:25:15 -07:00
2026-05-31 18:52:44 -07:00
2026-04-27 16:01:10 -07:00
2026-10-03 14:55:15 +08:00
2026-10-03 14:55:15 +08:00
2026-08-27 22:25:15 -07:00
2026-09-03 08:43:10 -07:00
2026-10-03 14:55:15 +08:00
2026-06-12 23:51:29 -07:00
2026-09-08 21:42:56 -07:00
2026-09-08 21:42:56 -07:00
2026-09-08 21:42:56 -07:00
2026-09-07 18:40:37 -07:00
2026-08-31 21:41:50 -07:00
2026-08-04 13:33:31 -07:00
2026-10-10 22:31:46 +08:00
2026-10-10 22:31:46 +08:00
2026-10-10 22:31:46 +08:00
2026-10-19 01:47:25 -07:00
2026-05-13 10:22:01 -07:00
2026-09-24 06:57:44 +08:00
2026-09-24 06:57:44 +08:00
2026-10-16 19:45:17 -07:00
2026-08-21 22:33:01 -07:00
2026-09-09 12:55:47 -07:00
2026-08-08 20:23:10 -07:00
2026-09-26 15:53:39 +08:00
2026-06-02 09:02:05 -07:00
2026-10-03 21:04:30 +08:00
2026-06-02 09:02:05 -07:00
2026-08-28 20:46:59 -07:00
2026-06-10 13:33:45 -07:00
2026-06-12 23:51:29 -07:00
2026-08-28 20:46:59 -07:00
2026-10-02 22:46:36 +08:00
2026-10-03 09:08:19 +08:00
2026-08-28 15:43:05 -07:00
2026-06-02 09:02:05 -07:00
2026-05-17 19:55:15 -07:00
2026-06-02 09:02:05 -07:00
2026-08-12 20:18:39 -07:00
2026-06-02 09:02:05 -07:00
2026-06-11 20:26:20 -07:00
2026-08-27 22:25:15 -07:00
2026-08-28 15:55:12 -07:00
2026-08-28 20:46:59 -07:00
2026-06-25 10:38:14 -07:00
2026-06-25 10:38:14 -07:00
2026-01-23 16:38:36 -08:00
2026-08-28 20:46:59 -07:00
2026-09-12 14:19:18 -07:00
2026-08-29 12:12:41 -07:00
2026-10-19 17:01:19 -07:00
2026-08-21 22:33:01 -07:00
2026-09-03 23:50:12 -07:00
2025-10-20 16:11:29 -07:00
2026-08-21 13:04:56 -07:00
2026-09-09 12:55:47 -07:00
2026-06-02 09:02:05 -07:00
2026-09-09 23:33:05 -07:00
2026-04-03 16:04:27 -07:00
2026-08-18 17:17:50 -07:00
2026-10-03 08:31:56 +08:00
2026-10-03 08:31:56 +08:00
2026-10-03 08:31:56 +08:00
2026-10-03 14:55:15 +08:00
2026-08-27 22:25:15 -07:00
2026-08-27 22:25:15 -07:00
2026-10-20 12:58:02 -07:00
2026-10-19 17:01:19 -07:00
2026-10-19 17:01:19 -07:00
2026-09-26 15:53:39 +08:00
2019-04-17 22:04:49 -07:00
2026-09-24 06:57:44 +08:00
2026-10-20 23:40:51 -07:00
2026-10-20 13:03:00 -07:00
2026-10-20 23:40:51 -07:00
2026-09-26 15:53:39 +08:00
2026-09-03 08:43:10 -07:00
2026-09-03 08:43:10 -07:00
2026-08-18 17:17:50 -07:00
2026-07-28 16:48:30 -07:00
2026-08-11 16:36:36 -07:00
2026-08-09 12:43:31 -07:00
2026-08-09 09:41:50 -07:00
2026-08-10 00:40:29 -07:00
2026-09-07 09:23:56 -07:00
2026-08-13 21:38:22 -07:00
2026-09-07 18:40:37 -07:00
2026-10-06 14:24:42 +08:00
2026-10-20 12:58:02 -07:00
2026-09-07 18:40:37 -07:00
2026-09-24 06:57:44 +08:00
2026-10-12 18:08:19 +08:00
2026-10-12 18:08:19 +08:00
2026-09-07 09:23:56 -07:00
2026-07-30 17:03:38 -07:00
2026-08-31 21:41:50 -07:00
2026-08-27 22:25:15 -07:00
2026-10-20 12:58:02 -07:00
2026-10-08 22:58:44 +08:00
2026-09-21 00:59:35 -07:00
2026-09-26 15:53:39 +08:00
2026-10-10 22:31:46 +08:00
2026-10-20 12:58:02 -07:00
2026-10-20 12:58:02 -07:00
2026-10-19 00:56:17 -07:00
2026-10-20 12:58:02 -07:00
2026-10-20 12:58:02 -07:00