shreemaan-abhishek opened a new pull request, #14169: URL: https://github.com/apache/apisix/pull/14169
### Description Backport of #14167 to `release/3.20`, so the fix ships in 3.20.0. Clean cherry-pick of `22ecbc60e4ea780abc0c76ee6396583a26ff7e68` from `master`, with no adjustment: the tree of this branch is identical to that commit, and `release/3.20` was cut at its parent. The cherry-pick trailer records the source commit. The release PR (#14168) carries only release bookkeeping (changelog, version bumps, `.requirements`), so the code change goes in through this PR instead. #14168 already has the `3.20.0` changelog entry for #14167 under **Core**. For what the change does and why, see #14167 and the issue it fixes, #14149. ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [x] I have added tests corresponding to this change (carried over from #14167: `t/kubernetes/discovery/kubernetes6.t`, `t/kubernetes/discovery/kubernetes7.t`, `t/lib/k8s_discovery_e2e.lua`, and the updated existing kubernetes and tars cases) - [x] I have updated the documentation to reflect this change (carried over: the per-worker cache sentence in the kubernetes discovery docs, en and zh) - [x] I have verified that this change is backward compatible (no configuration, Admin API or discovery dump format change; an Endpoints change now reaches a worker within one second instead of on the next request that invalidates its cache entry) -- 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]
