Merge pull request #24023 from taosdata/fix/TD-27807
ignore invalid event window
This commit is contained in:
commit
5ab1b47cef
|
@ -616,6 +616,10 @@ void streamEventReloadState(SOperatorInfo* pOperator) {
|
||||||
qDebug("===stream=== reload state. try process result %" PRId64 ", %" PRIu64 ", index:%d", pSeKeyBuf[i].win.skey,
|
qDebug("===stream=== reload state. try process result %" PRId64 ", %" PRIu64 ", index:%d", pSeKeyBuf[i].win.skey,
|
||||||
pSeKeyBuf[i].groupId, i);
|
pSeKeyBuf[i].groupId, i);
|
||||||
getSessionWindowInfoByKey(pAggSup, pSeKeyBuf + i, &curInfo.winInfo);
|
getSessionWindowInfoByKey(pAggSup, pSeKeyBuf + i, &curInfo.winInfo);
|
||||||
|
//event window has been deleted
|
||||||
|
if (!IS_VALID_SESSION_WIN(curInfo.winInfo)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
setEventWindowFlag(pAggSup, &curInfo);
|
setEventWindowFlag(pAggSup, &curInfo);
|
||||||
if (!curInfo.pWinFlag->startFlag || curInfo.pWinFlag->endFlag) {
|
if (!curInfo.pWinFlag->startFlag || curInfo.pWinFlag->endFlag) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue