Files
scylladb/test/boost
Botond Dénes 1d4ea169e3 reader_concurrency_semaphore: set_notify_handler(): disable timeout
set_notify_handler() is called after a querier was inserted into the
querier cache. It has two purposes: set a callback for eviction and set
a TTL for the cache entry. This latter was not disabling the
pre-existing timeout of the permit (if any) and this would lead to
premature eviction of the cache entry if the timeout was shorter than
TTL (which his typical).
Disable the timeout before setting the TTL to prevent premature
eviction.

Fixes: #scylladb/scylladb#22629
(cherry picked from commit 9174f27cc8)
2025-02-18 04:48:22 -05:00
..
2024-06-07 06:44:59 +08:00
2023-12-02 22:37:22 +02:00
2024-08-22 20:51:38 +03:00
2024-05-27 17:34:38 +03:00
2024-06-18 15:55:22 +08:00