fix meta deadlock

This commit is contained in:
yihaoDeng 2024-08-15 09:23:19 +08:00
parent bc2cbea8d1
commit b9d085764f
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ int32_t metaResumeTbCursor(SMTbCursor *pTbCur, int8_t first, int8_t move) {
}
_exit:
if (locked) {
if (code != 0 && locked) {
metaReaderReleaseLock(&pTbCur->mr);
}
return code;