diff --git a/source/dnode/vnode/src/tsdb/tsdbCommit.c b/source/dnode/vnode/src/tsdb/tsdbCommit.c index c390dfb05165cb512f93999689d9076eac23189a..9c0cafd6f26d5b90f73fd9be437cbbbc27885f5c 100644 --- a/source/dnode/vnode/src/tsdb/tsdbCommit.c +++ b/source/dnode/vnode/src/tsdb/tsdbCommit.c @@ -523,7 +523,14 @@ static int32_t tsdbCommitTableMemData(SCommitter *pCommitter, STbDataIter *pIter tsdbTbDataIterNext(pIter); pRow = tsdbTbDataIterGet(pIter); - if (pRow && tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) pRow = NULL; + // if (pRow && tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) pRow = NULL; + // crash on CI, use the block following + if (pRow) { + TSDBKEY key = TSDBROW_KEY(pRow); + if (tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) { + pRow = NULL; + } + } if (pBlockData->nRow >= pCommitter->maxRow * 4 / 5) goto _write_block; continue;