smtcbn
be57e60baf
app_queue: fix double increment of member->calls with shared_lastcall
...
Under high concurrency, update_queue() may be invoked multiple times
for the same call, causing member->calls and queue-level counters to
be incremented more than once.
The existing starttime check is not atomic and allows concurrent
execution paths to pass. Treat member->starttime as a single-use token
and consume it via CAS to ensure the call is counted exactly once.
This also prevents incorrect call distribution when using strategies
such as fewestcalls.
Observed as a regression after upgrading to 20.17.
Resolves : #1736
2026-06-01 15:23:18 +00:00
..
2025-04-28 16:20:35 +00:00
2025-09-11 15:25:34 +00:00
2025-07-30 14:21:39 +00:00
2025-01-29 14:17:54 +00:00
2026-01-22 21:00:32 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-08-18 14:19:14 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2026-05-12 16:31:11 +00:00
2025-01-29 14:17:54 +00:00
2025-12-01 14:00:56 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-11-12 22:20:39 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2026-02-25 13:25:14 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2023-08-22 13:29:51 +00:00
2025-04-28 19:13:51 +00:00
2025-01-23 17:59:38 +00:00
2025-01-29 14:17:54 +00:00
2026-02-25 13:25:14 +00:00
2025-12-30 15:08:52 +00:00
2025-04-28 16:20:35 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2021-08-11 08:14:51 -05:00
2025-01-29 14:17:54 +00:00
2026-02-18 13:43:30 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2026-06-01 15:23:18 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2026-02-18 13:43:30 +00:00
2025-11-19 17:19:50 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-10-06 19:24:53 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-06-12 12:18:49 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-03-18 15:11:50 +00:00
2026-04-22 18:05:00 +00:00
2025-06-02 16:35:27 +00:00
2025-01-29 14:17:54 +00:00
2025-12-03 13:58:43 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2026-04-28 16:26:22 +00:00
2012-06-15 15:33:41 +00:00
2025-01-23 17:59:38 +00:00
2025-01-29 14:17:54 +00:00
2025-09-08 14:27:24 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2025-05-05 13:44:15 +00:00