Merge branch 'feat/TS-4994-3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0

This commit is contained in:
Hongze Cheng 2024-12-13 18:12:58 +08:00
commit c2e3dd4b4e
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ static int32_t mndCompactDispatch(SRpcMsg *pReq) {
continue; continue;
} }
int64_t remainder = ((curMin + (int64_t)pDb->cfg.compactTimeOffset * 60LL) % pDb->cfg.compactInterval); int64_t remainder = ((curMin - (int64_t)pDb->cfg.compactTimeOffset * 60LL) % pDb->cfg.compactInterval);
if (remainder != 0) { if (remainder != 0) {
mDebug("db:%p,%s, current time:%" PRIi64 "m is not divisible by compact interval:%dm, offset:%" PRIi8 mDebug("db:%p,%s, current time:%" PRIi64 "m is not divisible by compact interval:%dm, offset:%" PRIi8
"h, remainder:%" PRIi64 "m, skip", "h, remainder:%" PRIi64 "m, skip",