With the dualstack changes for moving pickfirst logic from the subchannel to the new pickfirst LB policy, there will be one address per subchannel and the re-resolution should happen only once all the subchannels have reported TRANSIENT_FAILURE once. Subsequent re-resolutions should happen after seeing |subchannels|TRANSIENT_FAILUREs.
Presently,
addrConn
is requesting a re-resolution before reportingTRANSIENT_FAILURE
once all the addresses have been tried: https://github.com/grpc/grpc-go/blob/3cb33421c5d3506cb57c6201bee013b10d49fbc8/clientconn.go#L1256-L1266With the dualstack changes for moving pickfirst logic from the subchannel to the new
pickfirst
LB policy, there will be one address per subchannel and the re-resolution should happen only once all the subchannels have reportedTRANSIENT_FAILURE
once. Subsequent re-resolutions should happen after seeing|subchannels|
TRANSIENT_FAILURE
s.