Merge pull request #27164 from taosdata/fix/TD-31309-2

fix(meta/commit): transfer txn's ownership to asyn commit thread
This commit is contained in:
Hongze Cheng 2024-08-12 18:41:56 +08:00 committed by GitHub
commit 0f297f0bd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ int metaPrepareAsyncCommit(SMeta *pMeta) {
TSDB_CHECK_CODE(code, lino, _exit);
pMeta->changed = false;
pMeta->txn = NULL;
_exit:
if (code) {
metaError("vgId:%d %s failed at %s:%d since %s", TD_VID(pMeta->pVnode), __func__, __FILE__, __LINE__,