Merge pull request #17629 from taosdata/feature/stream_ly

fear(stream): add log
This commit is contained in:
Shengliang Guan 2022-10-25 17:46:27 +08:00 committed by GitHub
commit 414fe9c03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1541,7 +1541,8 @@ static void deleteIntervalDiscBuf(SStreamState* pState, SHashObj* pPullDataMap,
} }
} }
if (qDebugFlag & DEBUG_DEBUG) { // for debug
if (qDebugFlag & DEBUG_DEBUG && mark > 0) {
SStreamStateCur* pCur = streamStateGetCur(pState, key); SStreamStateCur* pCur = streamStateGetCur(pState, key);
int32_t code = streamStateCurPrev(pState, pCur); int32_t code = streamStateCurPrev(pState, pCur);
if (code == TSDB_CODE_SUCCESS) { if (code == TSDB_CODE_SUCCESS) {