fix(meta/commit): transfer txn's ownership to asyn commit thread
This commit is contained in:
parent
4586e09b7b
commit
e3bfb9870a
|
@ -73,6 +73,8 @@ int metaPrepareAsyncCommit(SMeta *pMeta) {
|
||||||
TSDB_CHECK_CODE(code, lino, _exit);
|
TSDB_CHECK_CODE(code, lino, _exit);
|
||||||
pMeta->changed = false;
|
pMeta->changed = false;
|
||||||
|
|
||||||
|
pMeta->txn = NULL;
|
||||||
|
|
||||||
_exit:
|
_exit:
|
||||||
if (code) {
|
if (code) {
|
||||||
metaError("vgId:%d %s failed at %s:%d since %s", TD_VID(pMeta->pVnode), __func__, __FILE__, __LINE__,
|
metaError("vgId:%d %s failed at %s:%d since %s", TD_VID(pMeta->pVnode), __func__, __FILE__, __LINE__,
|
||||||
|
|
Loading…
Reference in New Issue