Respond to review comments 7/12
This commit is contained in:
parent
d8122ebc09
commit
de9a6ea060
|
@ -295,7 +295,9 @@ struct LogSystemConfig {
|
|||
int numLogs() const {
|
||||
int numLogs=0;
|
||||
for (auto& tLogSet : tLogs) {
|
||||
numLogs += tLogSet.tLogs.size();
|
||||
if (tLogSet.isLocal == true) {
|
||||
numLogs += tLogSet.tLogs.size();
|
||||
}
|
||||
}
|
||||
return numLogs;
|
||||
}
|
||||
|
|
|
@ -1264,6 +1264,7 @@ ACTOR Future<Void> serveLiveCommittedVersion(Reference<MasterData> self) {
|
|||
waitNext(self->myInterface.getTLogPrevCommitVersion.getFuture())) {
|
||||
GetTLogPrevCommitVersionReply reply;
|
||||
for (uint16_t tLog : req.writtenTLogs) {
|
||||
// TODO the reply needs to be ordered by commit version.
|
||||
reply.tpcvMap[tLog] = self->tpcvVector[tLog]; // TODO (placeholder)
|
||||
}
|
||||
req.reply.send(reply);
|
||||
|
|
Loading…
Reference in New Issue