Chris Lu
5b42287c22
fix(storage): surface stat error on zero-size idx scrub, mirror to rust ( #9612 )
...
fix(storage): harden zero-size idx scrub and mirror to rust
When a zero-size .idx is found, openIndex stats the backing .dat through
v.DataBackend: wrap that GetStat failure with %w, fix the indices typo, and
guard both openIndex and scrubVolumeData against a nil DataBackend (closed or
remote-only volumes) instead of panicking.
Add rust scrub tests for empty (superblock-only .dat, zero-size .idx) and
healthy volumes, keeping the volume server in parity with the go zero-size
scrub handling.
2026-05-21 10:17:23 -07:00
..
2026-04-16 09:38:42 -07:00
2026-05-21 00:41:27 -07:00
2026-04-03 16:04:27 -07:00
2026-05-19 09:58:47 -07:00
2026-02-20 18:42:00 -08:00
2025-06-16 22:25:22 -07:00
2026-05-21 09:42:07 -07:00
2026-04-24 14:01:09 -07:00
2026-01-07 13:06:08 -08:00
2026-05-21 02:16:28 -07:00
2026-04-27 16:01:10 -07:00
2026-04-27 16:01:10 -07:00
2026-05-12 09:30:42 -07:00
2026-05-18 15:00:33 -07:00
2026-02-02 17:55:04 -08:00
2026-05-12 09:30:42 -07:00
2026-04-16 22:01:34 -07:00
2026-04-16 22:01:34 -07:00
2026-04-16 22:01:34 -07:00
2026-04-16 22:01:34 -07:00
2026-04-16 22:01:34 -07:00
2026-05-13 10:22:01 -07:00
2026-05-13 10:22:01 -07:00
2026-04-16 22:01:34 -07:00
2026-05-06 15:19:43 -07:00
2025-11-17 21:19:55 -08:00
2026-04-13 21:10:36 -07:00
2026-05-11 20:21:50 -07:00
2026-05-13 09:25:10 -07:00
2026-05-17 19:55:15 -07:00
2026-05-17 19:55:15 -07:00
2026-05-18 15:00:33 -07:00
2026-04-27 16:01:10 -07:00
2026-05-18 15:00:33 -07:00
2026-01-23 16:38:36 -08:00
2026-02-16 15:09:01 -08:00
2026-04-27 15:59:57 -07:00
2026-05-18 15:00:33 -07:00
2025-10-20 16:11:29 -07:00
2026-03-01 10:22:00 -08:00
2026-04-03 16:04:27 -07:00
2025-06-30 13:57:28 -07:00
2026-04-01 01:15:26 -07:00
2026-05-18 20:51:04 -07:00
2019-04-17 22:04:49 -07:00
2025-06-16 22:05:06 -07:00
2026-05-21 09:42:07 -07:00
2026-05-21 10:17:23 -07:00
2022-07-29 00:17:28 -07:00
2026-01-29 14:16:42 -08:00
2026-05-09 09:55:02 -07:00
2026-05-18 20:51:04 -07:00
2026-05-18 20:51:04 -07:00
2022-11-23 15:59:38 -08:00
2026-05-06 18:23:06 -07:00
2026-05-09 09:55:02 -07:00
2026-01-16 19:19:18 -08:00
2025-06-16 22:25:22 -07:00
2026-04-16 22:01:34 -07:00
2026-04-16 22:01:34 -07:00
2026-05-06 15:19:43 -07:00
2026-05-13 19:29:24 -07:00
2026-05-09 09:55:02 -07:00