Hi willy,
just to confirm that sticky counter decrement is okay with your patch on
2.3.8 version, so no objection for 2.3.9 patching neither :)
thomas
Le 30/03/2021 à 15:47, Willy Tarreau a écrit :
On Tue, Mar 30, 2021 at 03:17:34PM +0200, Sander Klein wrote:
On 2021-03-30 15:13, Willy Tarreau wrote:
diff --git a/src/time.c b/src/time.c
index 0cfc9bf3c..fafe3720e 100644
--- a/src/time.c
+++ b/src/time.c
@@ -268,7 +268,7 @@ void tv_update_date(int max_wait, int interrupted)
old_now_ms = global_now_ms;
do {
new_now_ms = old_now_ms;
- if (tick_is_lt(new_now_ms, now_ms))
+ if (tick_is_lt(new_now_ms, now_ms) || !new_now_ms)
new_now_ms = now_ms;
} while (!_HA_ATOMIC_CAS(&global_now_ms, &old_now_ms,
new_now_ms));
Do I need to apply this on top of the other fixes? Or should this be done on
the vanilla 2.2.11?
It's indeed on top of other fixes like those present in 2.3.8 or queued
in 2.2-maint.
Just let me know if you need some help with the patch or if you need another
one. I've mostly focused on 2.3 for now since 2.3.8 was expected to be
definitely fixed and I wanted to do 2.2.12 today based on it.
Thanks!
Willy
--
Thomas SIMON
Responsable Infrastructures
Neteven