Chris Lu
36f37b9b6a
fix(filer): remove cancellation guard from RollbackTransaction and clean up #8909 ( #8916 )
...
* fix(filer): remove cancellation guard from RollbackTransaction and clean up #8909
RollbackTransaction is a cleanup operation that must succeed even when
the context is cancelled — guarding it causes the exact orphaned state
that #8909 was trying to prevent.
Also:
- Use single-evaluation `if err := ctx.Err(); err != nil` pattern
instead of double-calling ctx.Err()
- Remove spurious blank lines before guards
- Add context.DeadlineExceeded test coverage
- Simplify tests from ~230 lines to ~130 lines
* fix(filer): call cancel() in expiredCtx and test rollback with expired context
- Call cancel() instead of suppressing it to avoid leaking timer resources
- Test RollbackTransaction with both cancelled and expired contexts
2026-04-03 17:55:27 -07:00
..
2026-01-09 18:02:59 -08:00
2026-01-07 13:06:08 -08:00
2026-01-14 17:59:59 -08:00
2026-01-14 17:59:59 -08:00
2026-02-20 18:42:00 -08:00
2026-03-30 23:29:56 -07:00
2026-01-07 13:06:08 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-12-23 14:48:50 -08:00
2026-01-09 18:02:59 -08:00
2024-03-25 12:50:43 -07:00
2025-08-03 11:56:04 -07:00
2025-08-03 11:56:04 -07:00
2026-04-02 15:39:04 -07:00
2026-01-07 13:06:08 -08:00
2026-04-03 16:04:27 -07:00
2025-11-25 19:35:19 -08:00
2026-02-20 18:42:00 -08:00
2026-03-26 12:07:48 -07:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2026-03-23 18:35:15 -07:00
2025-12-12 12:51:48 -08:00
2026-01-07 13:06:08 -08:00
2025-08-06 10:09:26 -07:00
2025-11-29 10:06:11 -08:00
2022-07-29 00:17:28 -07:00
2026-01-22 14:07:24 -08:00
2026-01-07 13:06:08 -08:00
2025-11-29 10:06:11 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2026-01-07 13:06:08 -08:00
2025-08-30 11:15:48 -07:00
2026-02-06 21:54:43 -08:00
2026-01-16 19:48:09 -08:00
2025-12-12 12:51:48 -08:00
2026-03-06 12:35:08 -08:00
2026-03-12 13:16:28 -07:00
2025-10-29 18:31:23 -07:00
2025-10-29 18:31:23 -07:00
2022-07-29 00:17:28 -07:00
2026-03-13 09:36:54 -07:00
2026-03-15 11:27:42 -07:00
2026-03-12 13:16:28 -07:00
2025-12-30 17:32:33 -08:00
2026-04-03 16:04:27 -07:00
2022-11-15 06:33:36 -08:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-01-16 19:48:09 -08:00
2025-12-03 21:12:19 -08:00
2026-03-30 23:29:56 -07:00
2026-03-25 20:06:34 -07:00
2025-11-25 19:35:19 -08:00
2026-04-03 17:55:27 -07:00
2026-04-03 17:55:27 -07:00
2025-11-25 19:35:19 -08:00
2026-01-07 13:06:08 -08:00
2023-04-13 22:32:45 -07:00
2026-03-27 11:01:29 -07:00
2026-04-03 16:04:27 -07:00
2026-03-30 18:25:11 -07:00
2026-03-07 09:19:40 -08:00
2026-03-07 09:19:40 -08:00
2026-03-17 16:49:56 -07:00
2026-03-06 12:35:08 -08:00
2025-08-06 10:09:26 -07:00
2025-12-04 23:40:56 -08:00
2026-01-07 13:06:08 -08:00
2025-12-04 23:40:56 -08:00
2022-08-26 16:41:37 -07:00
2026-03-06 12:35:08 -08:00
2026-03-15 11:27:42 -07:00
2026-03-06 12:35:08 -08:00
2022-08-30 09:37:52 -07:00
2025-07-16 23:39:27 -07:00
2026-04-03 16:04:27 -07:00
2024-11-04 12:08:25 -08:00