- Address a bug related to computing the ids of log servers (#11623)

This commit is contained in:
Sreenath Bodagala 2024-09-04 00:15:08 -04:00 committed by GitHub
parent 4e96c3cab2
commit daca092939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -2104,12 +2104,15 @@ void getTLogLocIds(std::vector<Reference<LogSet>>& tLogs,
}
for (uint16_t i = 0; i < it->logServers.size(); i++) {
if (it->logServers[i]->get().present()) {
interfLocMap[it->logServers[i]->get().interf().id()] = location++;
interfLocMap[it->logServers[i]->get().interf().id()] = location;
}
maxTLogLocId++;
location++;
}
}
// Set maxTLogLocId.
maxTLogLocId = location;
// Find the locations of tLogs in "logGroupResults".
uint8_t logGroupId = 0;
for (auto& logGroupResult : logGroupResults) {