From 9e586ffa9191be59d51aa60ed4814cfba113406a Mon Sep 17 00:00:00 2001 From: Handora Date: Mon, 9 Jan 2023 07:08:21 +0000 Subject: [PATCH] [BUG] fix submit redo and elr concurrcy --- src/storage/memtable/mvcc/ob_mvcc_trans_ctx.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/storage/memtable/mvcc/ob_mvcc_trans_ctx.cpp b/src/storage/memtable/mvcc/ob_mvcc_trans_ctx.cpp index 5a37d70fb2..15d520f9f1 100644 --- a/src/storage/memtable/mvcc/ob_mvcc_trans_ctx.cpp +++ b/src/storage/memtable/mvcc/ob_mvcc_trans_ctx.cpp @@ -1082,6 +1082,9 @@ MutatorType ObMvccRowCallback::get_mutator_type() const int ObMvccRowCallback::get_redo(RedoDataNode &redo_node) { int ret = OB_SUCCESS; + + ObRowLatchGuard guard(value_.latch_); + if (NULL == key_.get_rowkey() || NULL == tnode_) { ret = OB_ENTRY_NOT_EXIST; } else if (!is_link_) {