fix: pin requery to preferred replica (#49826)
issue: #49742 ### What changed - Propagate preferred shard leader hints for search requery workloads. - Add shard-level metrics for preferred node hit, miss, unavailable, and rejected results. - Keep preferred-node selection outside the balancer path so it does not affect balancer state. - Preserve fallback to other serviceable replicas when the preferred node is unavailable or excluded. ### Tests - go test ./internal/proxy/shardclient --------- Signed-off-by: chyezh <chyezh@outlook.com>
Z
Zhen Ye committed
c805906de599ebe3c8abdbf0c0f0e9f6da2b9435
Parent: efc996e
Committed by GitHub <noreply@github.com>
on 5/21/2026, 3:06:30 AM