membphis commented on PR #13796:
URL: https://github.com/apache/apisix/pull/13796#issuecomment-5291892412

   > **[P1] Older APISIX runtimes fail during configuration parsing instead of 
degrading gracefully**
   > 
   > `apisix_stream_metrics_zone` is provided only by apisix-nginx-module 
1.19.9, but the template gates it only on `use_apisix_base`, which checks 
whether the module is present and does not check its version. apisix-runtime 
1.3.11–1.3.13 still contain apisix-nginx-module 1.19.8, so enabling the Stream 
Prometheus plugin with the new default `metrics_zone_size` renders an unknown 
directive and makes startup or reload fail before the Lua `pcall(require, ...)` 
and variable fallbacks can run.
   > 
   > Please gate the directive on the actual runtime/module capability, omit it 
for versions before 1.19.9, and add a configuration/startup regression for an 
older runtime.
   
   ignore my message, this issue will not occur in the production environment.


-- 
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