nic-6443 commented on issue #12275:
URL: https://github.com/apache/apisix/issues/12275#issuecomment-5019415569

   Fixed and merged in #13708 — it bumps `nginx-lua-prometheus-api7` to 
`0.20260716`, which carries the actual fix (api7/nginx-lua-prometheus#16). On a 
repeated `"exists"` collision `KeyIndex:add()` now advances `key_count` past 
the occupied slot instead of retrying the same slot forever, with a hard cap 
that degrades to the normal dict-full error. So once you're on a build with 
that dependency, a full `prometheus-metrics` dict can no longer arm the 100% 
CPU spin.
   
   If you're on an older release and can't upgrade the dependency yet, the 
mitigation still holds: keep `prometheus-metrics` sized so it never actually 
fills (worth alerting on `free_space()` reaching 0), since the loop can only 
arm on a full dict.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to