Correct comment based on review

This commit is contained in:
Meng Xu 2020-03-23 12:53:40 -07:00
parent 3f31ebf659
commit be67ab4d6a
2 changed files with 3 additions and 3 deletions

View File

@ -70,8 +70,8 @@ struct BackupData {
const int totalTags; // Total log router tags
const Version startVersion;
const Optional<Version> endVersion; // old epoch's end version (inclusive), or empty for current epoch
const LogEpoch recruitedEpoch;
const LogEpoch backupEpoch; // most recent active epoch whose tLogs are receiving mutations
const LogEpoch recruitedEpoch; // current epoch whose tLogs are receiving mutations
const LogEpoch backupEpoch; // the epoch workers should pull mutations
LogEpoch oldestBackupEpoch = 0; // oldest epoch that still has data on tLogs for backup to pull
Version minKnownCommittedVersion;
Version savedVersion;

View File

@ -1300,7 +1300,7 @@ ACTOR static Future<Void> recruitBackupWorkers(Reference<MasterData> self, Datab
req.startVersion = version; // savedVersion + 1
req.endVersion = std::get<1>(epochVersionTags) - 1;
TraceEvent("BackupRecruitment", self->dbgid)
.detail("BackupWorker", req.reqId)
.detail("BKID", req.reqId)
.detail("Tag", req.routerTag.toString())
.detail("Epoch", epoch)
.detail("BackupEpoch", req.backupEpoch)