Merge pull request #23987 from taosdata/fix/little_fix_3.0
fix: little fix
This commit is contained in:
commit
853fb6f119
|
@ -435,7 +435,7 @@ _exit:
|
||||||
tsdbDebug("vgId:%d %s done, fid:%d minKey:%" PRId64 " maxKey:%" PRId64 " expLevel:%d", TD_VID(tsdb->pVnode),
|
tsdbDebug("vgId:%d %s done, fid:%d minKey:%" PRId64 " maxKey:%" PRId64 " expLevel:%d", TD_VID(tsdb->pVnode),
|
||||||
__func__, committer->ctx->fid, committer->ctx->minKey, committer->ctx->maxKey, committer->ctx->expLevel);
|
__func__, committer->ctx->fid, committer->ctx->minKey, committer->ctx->maxKey, committer->ctx->expLevel);
|
||||||
}
|
}
|
||||||
return 0;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t tsdbCommitFileSetEnd(SCommitter2 *committer) {
|
static int32_t tsdbCommitFileSetEnd(SCommitter2 *committer) {
|
||||||
|
|
|
@ -177,12 +177,15 @@ static int32_t vnodeAsyncTaskDone(SVAsync *async, SVATask *task) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t vnodeAsyncCancelAllTasks(SVAsync *async) {
|
static int32_t vnodeAsyncCancelAllTasks(SVAsync *async) {
|
||||||
for (int32_t i = 0; i < EVA_PRIORITY_MAX; i++) {
|
while (async->queue[0].next != &async->queue[0] || async->queue[1].next != &async->queue[1] ||
|
||||||
while (async->queue[i].next != &async->queue[i]) {
|
async->queue[2].next != &async->queue[2]) {
|
||||||
SVATask *task = async->queue[i].next;
|
for (int32_t i = 0; i < EVA_PRIORITY_MAX; i++) {
|
||||||
task->prev->next = task->next;
|
while (async->queue[i].next != &async->queue[i]) {
|
||||||
task->next->prev = task->prev;
|
SVATask *task = async->queue[i].next;
|
||||||
vnodeAsyncTaskDone(async, task);
|
task->prev->next = task->next;
|
||||||
|
task->next->prev = task->prev;
|
||||||
|
vnodeAsyncTaskDone(async, task);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue