From 07ff814b15c1db8d04ca11b653f7bd82dd4864d0 Mon Sep 17 00:00:00 2001 From: Nic Date: Mon, 20 Jul 2026 10:15:59 +0800 Subject: [PATCH] fix(prometheus): bump nginx-lua-prometheus-api7 to 0.20260716 The bumped release fixes an unbounded retry loop in KeyIndex:add(). When the shared dict is full and __ngx_prom__key_count is LRU-evicted, sync() reads it as 0 and add() retries the same already-occupied slot forever, pegging the worker at 100% CPU independent of traffic. The new version advances the counter past the occupied slot so the next sync() adopts its occupant and progress resumes. --- apisix-master-0.rockspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix-master-0.rockspec b/apisix-master-0.rockspec index 69ca2a12d3cd..cbfea4e49470 100644 --- a/apisix-master-0.rockspec +++ b/apisix-master-0.rockspec @@ -54,7 +54,7 @@ dependencies = { "lua-resty-openidc = 1.8.0-1", "lua-resty-saml = 0.2.5", "luafilesystem = 1.8.0-1", - "nginx-lua-prometheus-api7 = 0.20260623-1", + "nginx-lua-prometheus-api7 = 0.20260716-1", "jsonschema = 0.9.13-0", "lua-resty-ipmatcher = 0.6.1-0", "lua-resty-kafka = 0.23-0",