“f7ef32e236e7c018d55b5d03639cf45075f72476”上不存在“docs/en/07-data-in/10-prometheus.md”
提交 7069670e 编写于 作者: H Hongze Cheng

more

上级 02534972
...@@ -483,17 +483,10 @@ static int tsdbCommitToTable(SCommitH *pch, int tid) { ...@@ -483,17 +483,10 @@ static int tsdbCommitToTable(SCommitH *pch, int tid) {
if ((nextKey == TSDB_DATA_TIMESTAMP_NULL || nextKey > pch->maxKey) || if ((nextKey == TSDB_DATA_TIMESTAMP_NULL || nextKey > pch->maxKey) ||
(pBlock && (!pBlock->last) && tsdbComparKeyBlock((void *)(&nextKey), pBlock) > 0)) { (pBlock && (!pBlock->last) && tsdbComparKeyBlock((void *)(&nextKey), pBlock) > 0)) {
// TODO: move the block if (tsdbMoveBlock(pch, cidx) < 0) {
ASSERT(pBlock->numOfSubBlocks > 0);
if (pBlock->numOfSubBlocks == 1) { // move super block
if (taosArrayPush(pch->aSupBlk, (void *)pBlock) == NULL) {
terrno = TSDB_CODE_TDB_OUT_OF_MEMORY;
TSDB_RUNLOCK_TABLE(pIter->pTable); TSDB_RUNLOCK_TABLE(pIter->pTable);
return -1; return -1;
} }
} else {
}
cidx++; cidx++;
if (cidx < nBlocks) { if (cidx < nBlocks) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册