yi111 and Chris Lu
150a69fe11
master: make volume capacity reservation timeout configurable ( #11426 ) ( #11497 )
...
* master: make volume capacity reservation timeout configurable (#11426 )
* master: expire reservations on reads, fix int timeout units
- AvailableSpaceForReservation now expires reservations too: a node that
is full of reservations is filtered out before TryReserveCapacity can
clean them, which stranded expired capacity indefinitely.
- Drop TryReserveCapacityWithTimeout: a per-call timeout lets one caller
expire another's live reservations, and the Node interface stays
stable for implementations outside this tree.
- parseReservationTimeout no longer routes integer values through
GetDuration, which read them as nanoseconds; bare numbers are
seconds. The 5m fallback is now the shared DefaultReservationTimeout.
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com >
2026-09-28 18:40:11 +08:00
..
2026-09-28 18:40:11 +08:00
2026-09-14 14:04:35 -07:00
2026-01-07 13:06:08 -08:00
2026-06-16 11:47:32 -07:00
2026-09-26 15:53:39 +08:00
2026-07-22 14:38:06 -07:00
2026-09-02 22:12:51 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-08-24 19:30:20 -07:00
2026-08-24 19:30:20 -07:00
2026-08-24 19:30:20 -07:00
2026-05-03 21:46:21 -07:00
2026-09-04 23:12:27 -07:00
2026-06-04 10:53:23 -07:00
2026-08-08 09:24:58 -07:00
2026-08-08 09:24:58 -07:00
2026-04-23 11:54:08 -07:00
2026-04-22 09:44:43 -07:00
2026-01-07 13:06:08 -08:00
2026-09-04 00:18:37 -07:00
2026-07-22 14:38:06 -07:00
2026-09-25 09:02:34 +08:00
2026-09-25 09:02:34 +08:00
2026-01-07 13:06:08 -08:00
2024-07-16 09:15:55 -07:00
2026-09-16 16:20:39 -07:00
2026-09-01 10:10:30 -07:00
2026-09-01 10:10:30 -07:00
2026-08-24 19:30:20 -07:00
2026-08-24 19:30:20 -07:00
2026-03-26 23:55:42 -07:00
2026-07-01 10:38:21 -07:00
2026-07-01 10:38:21 -07:00
2026-09-01 10:10:30 -07:00
2026-09-18 01:02:32 -07:00
2026-08-28 20:46:59 -07:00
2026-05-28 18:04:31 -07:00
2026-08-28 20:46:59 -07:00
2026-02-20 18:42:00 -08:00
2026-09-04 23:14:57 -07:00
2026-09-04 23:14:57 -07:00
2025-12-25 11:36:38 -08:00
2025-12-14 16:02:06 -08:00
2026-01-26 11:28:23 -08:00
2026-02-18 13:42:41 -08:00
2026-09-27 07:05:22 +08:00
2026-08-15 21:37:20 -07:00
2026-09-27 07:05:22 +08:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-06-19 13:04:04 -07:00
2026-08-20 23:46:32 -07:00
2026-05-08 11:03:03 -07:00
2026-09-27 07:05:22 +08:00
2026-09-17 20:30:53 -07:00
2026-09-17 20:30:53 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-09-08 10:51:28 -07:00
2026-08-03 21:20:26 -07:00
2026-02-20 18:42:00 -08:00
2026-09-08 10:51:28 -07:00
2026-09-08 10:51:28 -07:00
2026-09-08 10:51:28 -07:00
2026-04-23 22:15:05 -07:00
2026-05-03 21:46:21 -07:00
2025-10-13 18:05:17 -07:00
2026-05-02 18:03:13 -07:00
2026-04-16 15:51:43 -07:00
2026-09-24 07:02:59 +08:00
2019-11-28 18:44:27 -08:00
2026-06-11 11:04:52 -07:00
2026-09-16 14:18:57 -07:00
2026-09-27 07:05:22 +08:00
2026-06-05 12:44:21 -07:00
2026-09-02 22:12:51 -07:00
2026-02-20 18:42:00 -08:00
2026-05-03 21:46:21 -07:00
2026-07-22 14:38:06 -07:00
2026-05-30 09:29:06 -07:00
2022-07-29 00:17:28 -07:00
2026-08-27 10:01:05 -07:00
2026-06-05 12:44:21 -07:00
2026-03-07 18:30:58 -08:00
2026-05-08 17:29:47 -07:00
2026-05-03 21:46:21 -07:00