Files
scylladb/utils
Vlad Zolotarov 4bb6ba6d58 utils::loading_cache: cancel the timer after closing the gate
The timer is armed inside the section guarded by the _timer_reads_gate
therefore it has to be canceled after the gate is closed.

Otherwise we may end up with the armed timer after stop() method has
returned a ready future.

Signed-off-by: Vlad Zolotarov <vladz@scylladb.com>
Message-Id: <1501603059-32515-1-git-send-email-vladz@scylladb.com>
(cherry picked from commit 4b28ea216d)
2017-08-01 17:23:53 +01:00
..
2016-12-05 11:48:29 +02:00
2017-04-17 23:03:15 +03:00
2017-05-17 12:30:03 +03:00
2017-02-01 14:39:08 +02:00
2016-09-28 17:34:16 +03:00
2017-03-02 09:05:10 +00:00