jif
ed9e5a26a8
Clean up canceled exec-server RPC requests immediately ( #49332 )
...
## Why
Canceled RPC calls could leave entries in the pending request map until further traffic or disconnect. Cleanup should happen when the call is dropped, even if no response arrives.
## What changed
Use a `PendingRequestGuard` to remove each registration when its call completes or is canceled. Protect the pending map with a synchronous mutex so cleanup can run in `Drop`, replacing opportunistic pruning and explicit error-path removals.
## Testing
Add a regression test that drops an in-flight call and verifies that the pending request count immediately reaches zero without further traffic.
GitOrigin-RevId: 82c0629f37a2f4bb89b8d10e167e2a09765b26eb
2026-09-29 18:34:48 +00:00
..
2026-09-23 00:48:53 +00:00
2026-09-23 22:20:34 +00:00
2026-09-23 20:05:37 +00:00
2026-08-20 08:32:11 +00:00
2026-09-26 23:17:41 +00:00
2026-08-15 03:00:35 +00:00
2026-09-26 23:17:41 +00:00
2026-09-29 15:41:22 +00:00
2026-07-21 08:59:41 +00:00
2026-09-23 00:48:53 +00:00
2026-09-23 22:20:34 +00:00
2026-09-03 20:01:07 +00:00
2026-09-23 19:37:16 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-08-20 18:48:17 +00:00
2026-09-23 00:48:53 +00:00
2026-09-27 00:01:17 +00:00
2026-09-23 00:48:53 +00:00
2026-09-04 23:06:00 +00:00
2026-09-27 00:01:17 +00:00
2026-09-29 04:38:37 +00:00
2026-09-27 00:01:17 +00:00
2026-09-29 04:38:37 +00:00
2026-07-24 00:16:42 +00:00
2026-09-26 23:17:41 +00:00
2026-08-21 17:21:30 +00:00
2026-07-24 00:16:42 +00:00
2026-06-17 17:20:53 -07:00
2026-06-17 17:20:53 -07:00
2026-09-23 20:05:37 +00:00
2026-09-26 23:17:41 +00:00
2026-06-16 09:50:55 -07:00
2026-09-02 21:58:58 +00:00
2026-08-18 18:15:21 +00:00
2026-08-13 11:11:26 +00:00
2026-09-23 22:20:34 +00:00
2026-09-19 15:15:25 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-08-20 08:10:08 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-07-25 16:03:00 +00:00
2026-07-25 16:03:00 +00:00
2026-06-15 17:39:00 -07:00
2026-07-21 13:39:33 +00:00
2026-09-26 23:17:41 +00:00
2026-09-28 23:21:26 +00:00
2026-09-23 22:10:28 +00:00
2026-09-13 06:07:03 +00:00
2026-08-18 13:36:16 +00:00
2026-08-20 08:10:08 +00:00
2026-09-26 23:17:41 +00:00
2026-06-15 17:39:00 -07:00
2026-09-26 23:17:41 +00:00
2026-09-17 04:37:54 +00:00
2026-09-17 04:37:54 +00:00
2026-09-23 19:37:16 +00:00
2026-07-30 19:23:33 +00:00
2026-09-26 23:17:41 +00:00
2026-07-20 13:45:29 +00:00
2026-09-04 23:06:00 +00:00
2026-09-29 18:34:48 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-09-23 22:10:28 +00:00
2026-09-29 18:34:48 +00:00
2026-09-26 23:17:41 +00:00
2026-09-17 18:20:28 +00:00
2026-09-19 15:15:25 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-09-26 23:17:41 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-09-09 17:03:57 +00:00
2026-06-25 13:42:40 -07:00
2026-08-17 20:36:10 +00:00
2026-07-01 14:15:34 -07:00
2026-07-01 14:15:34 -07:00