This commit is contained in:
block 2021-06-15 14:37:43 +08:00 committed by GitHub
parent c36014b57e
commit 38ca7f719e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ int ObMemtableArrWrap::dec_active_trx_count_at_active_mt()
if (pos < 0 || count == 0 || mt_end_ <= 0 || mt_start_ < 0) {
ret = OB_INVALID_ARGUMENT;
TRANS_LOG(WARN, "dec_active_trx_count_at_acitve_mt invalid argument", K(pos), K(ret), K(mt_start_), K(mt_end_));
TRANS_LOG(WARN, "dec_active_trx_count_at_active_mt invalid argument", K(pos), K(ret), K(mt_start_), K(mt_end_));
} else {
if (NULL != mt_[pos]) {
mt_[pos]->dec_active_trx_count();
@ -62,7 +62,7 @@ int ObMemtableArrWrap::remove_mem_ctx_for_trans_ctx(ObMemtable* mt)
if (OB_ISNULL(mt)) {
ret = OB_INVALID_ARGUMENT;
TRANS_LOG(WARN, "dec_active_trx_count_at_acitve_mt invalid argument", K(mt), K(ret));
TRANS_LOG(WARN, "dec_active_trx_count_at_active_mt invalid argument", K(mt), K(ret));
} else if (mt_end_ < 0 || mt_start_ < 0) {
ret = OB_INVALID_ARGUMENT;
TRANS_LOG(WARN, "remove mem ctx for trans ctx", K(ret), K(mt_start_), K(mt_end_));