nic-6443 opened a new pull request, #13364: URL: https://github.com/apache/apisix/pull/13364
When the etcd response is missing the `X-Etcd-Index` header (e.g. a reverse proxy strips non-standard headers), `tonumber(nil)` returns `nil` and the `assert(rev > 0)` raises — killing the init worker phase with no retry. This replaces the assert with a nil/non-positive check that logs a warning and falls through to the existing `rev == 0` retry path, which fetches the current revision directly from etcd. The fix makes a transient header anomaly recoverable instead of fatal. -- 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]
