add ASSERT_WE_THINK

This commit is contained in:
Xiaoxi Wang 2022-04-07 09:21:50 -07:00
parent 20fee3dd06
commit d25fc4db34
1 changed files with 1 additions and 0 deletions

View File

@ -1149,6 +1149,7 @@ ACTOR Future<Void> tLogPopCore(TLogData* self, Tag inputTag, Version to, Referen
upTo = logData->logSystem->get()->popPseudoLocalityTag(inputTag, to);
tagLocality = tagLocalityLogRouter;
} else {
ASSERT_WE_THINK(tagLocality == tagLocalityLogRouterMapped);
TraceEvent(SevWarn, "TLogPopNoPseudoLocality", self->dbgid)
.detail("Locality", tagLocality)
.detail("Version", upTo);