kshitijk4poor
7feaf03883
fix(state): treat ESRCH like ENOENT in deleted-WAL fd identity check
...
`_fd_is_truly_unlinked` stats `/proc/<pid>/fd/<n>` after the scan has
already read the readlink target. Between those two steps the descriptor
can be closed (ENOENT, handled by the previous commit) or the whole
process can exit (ESRCH). Both mean the descriptor can no longer keep a
retired WAL/SHM generation alive, so neither is evidence of a live holder
and neither should make the guard refuse to open the database.
Match the sibling scan in hermes_state_holders, which already skips both
errnos, by branching on `exc.errno in (ENOENT, ESRCH)`; any other OSError
still fails closed. The existing closed-descriptor test is parametrized
over both errnos, injecting the failure at `os.stat` so the ESRCH path is
exercised on every platform.
2026-09-15 10:48:34 +05:30
..
2026-09-11 11:14:56 +05:30
2026-09-11 11:14:56 +05:30
2026-09-13 09:18:02 -07:00
2026-09-03 16:35:01 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 14:21:52 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 04:23:35 +05:30
2026-09-02 05:39:24 -07:00
2026-09-03 16:35:01 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:24:54 -07:00
2026-09-13 21:29:24 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-09 13:17:19 +05:30
2026-09-15 10:48:34 +05:30
2026-09-13 09:18:02 -07:00
2026-09-02 12:11:15 -05:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-09 10:05:59 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 13:46:50 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 13:46:50 -07:00
2026-08-15 02:20:13 -07:00
2026-09-07 04:54:49 -07:00
2026-08-15 02:20:13 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-08-09 14:06:06 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:23:23 -07:00
2026-09-13 09:18:02 -07:00
2026-08-08 17:37:26 -07:00
2026-09-14 09:19:20 -07:00
2026-09-13 14:45:41 -07:00
2026-08-10 11:01:15 +05:30
2026-09-11 11:14:56 +05:30
2026-09-13 05:20:26 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 08:10:36 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-08-15 00:31:37 -07:00
2026-09-03 15:07:39 -07:00
2026-08-05 13:50:26 +05:30
2026-09-13 09:18:02 -07:00
2026-08-04 12:32:27 -06:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:24:11 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:37:27 -07:00
2026-09-06 22:56:51 +05:30
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 21:13:23 -07:00
2026-09-14 08:50:29 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 08:50:29 -07:00
2026-09-14 08:50:29 -07:00
2026-09-14 10:18:17 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-02 01:20:47 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:23:23 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 06:54:07 -07:00
2026-09-14 05:28:22 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00