added logging

This commit is contained in:
Evan Tschannen 2021-03-18 15:49:08 -07:00
parent b1ac27cec1
commit 1a032f07dd
1 changed files with 5 additions and 1 deletions

View File

@ -1256,8 +1256,12 @@ ACTOR Future<Void> reply(CommitBatchContext* self) {
const Optional<UID>& debugID = self->debugID;
if (self->prevVersion && self->commitVersion - self->prevVersion < SERVER_KNOBS->MAX_VERSIONS_IN_FLIGHT / 2)
if (self->prevVersion && self->commitVersion - self->prevVersion < SERVER_KNOBS->MAX_VERSIONS_IN_FLIGHT / 2) {
if(self->commitVersion > 327594994) {
TraceEvent("DbgAdvMinCommit").detail("Ver", self->commitVersion);
}
debug_advanceMinCommittedVersion(UID(), self->commitVersion);
}
//TraceEvent("ProxyPushed", pProxyCommitData->dbgid).detail("PrevVersion", prevVersion).detail("Version", commitVersion);
if (debugID.present())