-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve hostname in tics config #311
Conversation
@@ -64,7 +64,7 @@ int64_t IndexReader::getReadIndex() | |||
for (const auto & learner : learners) | |||
{ | |||
std::string addr = cache->getStore(bo, learner.store_id()).addr; | |||
if (addr.size() > 0 && convertAddr(addr) == suggested_ip) | |||
if (addr.size() > 0 && convertAddr(addr) == convertAddr(suggested_address)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might be a legacy bug: finding target learner only compares IP address, we need to consider port as well to allow multiple instances on same host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-integration-tests |
1 similar comment
/run-integration-tests |
No description provided.