jameshartig commented on code in PR #1913:
URL:
https://github.com/apache/cassandra-gocql-driver/pull/1913#discussion_r2420278807
##########
host_source.go:
##########
@@ -745,7 +736,7 @@ func (r *ringDescriber) getLocalHostInfo() (*HostInfo,
error) {
return nil, errNoControl
}
- host, err := r.session.hostInfoFromIter(iter, nil, r.session.cfg.Port)
+ host, err := r.session.hostInfoFromIter(iter, iter.host.connectAddress,
r.session.cfg.Port)
Review Comment:
Doesn't this need to lock mu? Do we need a new function that's like
`ActualConnectAddress` that does the locking?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]