Skip to content

Conversation

@arjan-bal
Copy link
Contributor

@arjan-bal arjan-bal commented Feb 14, 2025

Fixes: #7993

Updating the DNS resolver after sending the xDS update could result in clusterresolver using the real DNS resolver and timing out. This PR ensures the real DNS resolver is replaced before the xDS update with the logical DNS cluster is sent.

Tested

Verified the test no longer fails in 10^5 runs on forge.

RELEASE NOTES: N/A

@arjan-bal arjan-bal added Type: Bug Area: Testing Includes tests and testing utilities that we have for unit and e2e tests within our repo. labels Feb 14, 2025
@arjan-bal arjan-bal added this to the 1.71 Release milestone Feb 14, 2025
@arjan-bal arjan-bal requested review from dfawley and easwars February 14, 2025 09:08
@arjan-bal arjan-bal changed the title ringhash: Replace DNS resolver before sending xDS Update ringhash: Replace DNS resolver before sending xDS Update in test Feb 14, 2025
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.23%. Comparing base (fabe274) to head (faba801).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8091      +/-   ##
==========================================
+ Coverage   82.20%   82.23%   +0.03%     
==========================================
  Files         387      387              
  Lines       38928    38962      +34     
==========================================
+ Hits        31999    32040      +41     
+ Misses       5606     5599       -7     
  Partials     1323     1323              

see 21 files with indirect coverage changes

@dfawley dfawley assigned arjan-bal and unassigned easwars and dfawley Feb 14, 2025
@arjan-bal arjan-bal merged commit ae2a04f into grpc:master Feb 17, 2025
15 checks passed
@arjan-bal arjan-bal deleted the fix-ringhash-flake branch February 17, 2025 03:41
janardhanvissa pushed a commit to janardhanvissa/grpc-go that referenced this pull request Mar 24, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Area: Testing Includes tests and testing utilities that we have for unit and e2e tests within our repo. Type: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: Test/RingHash_AggregateClusterFallBackFromRingHashToLogicalDnsAtStartup

3 participants