nic-6443 opened a new pull request, #13322:
URL: https://github.com/apache/apisix/pull/13322

   When the config store replaces the config table (e.g. `modifiedIndex` 
incremented), the runtime `_dns_value` field is lost because it lived on the 
old table. This causes `construct_upstream()` to return an error during 
periodic health check validation in `timer_working_pool_check()`, logging a 
noisy warning:
   
   ```
   [checking checker] unable to construct upstream for plugin: ai-proxy-multi 
...
   ```
   
   The fix calls `resolve_endpoint()` as fallback when `_dns_value` is nil. 
This is safe because:
   
   - The DNS resolver has TTL-based caching (microsecond-level cache hit)
   - This path only triggers after config table replacement, not every check 
tick
   - The checker will still be destroyed via version mismatch — the only 
difference is it takes the clean path instead of the error path


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