Merge pull request #24692 from taosdata/fix/xsren/TD-27786/closeHandle
fix: don't wait when tsort close
This commit is contained in:
commit
8cae539fce
|
@ -1334,7 +1334,6 @@ static bool tsortOpenForBufMergeSort(SSortHandle* pHandle) {
|
||||||
|
|
||||||
int32_t tsortClose(SSortHandle* pHandle) {
|
int32_t tsortClose(SSortHandle* pHandle) {
|
||||||
atomic_val_compare_exchange_8(&pHandle->closed, 0, 1);
|
atomic_val_compare_exchange_8(&pHandle->closed, 0, 1);
|
||||||
taosMsleep(10);
|
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue