not update schema version if replay clog while restore

This commit is contained in:
yy0
2021-08-12 16:05:28 +08:00
committed by wangzelin.wzl
parent ab743ff0d3
commit 97b4595450
5 changed files with 33 additions and 5 deletions

View File

@ -4477,6 +4477,7 @@ int ObPartitionService::replay_redo_log(const common::ObPartitionKey& pkey, cons
} else {
// used to order trans nodes that have not determined the commit version during replay
ctx.mem_ctx_->set_redo_log_timestamp(log_timestamp);
ctx.mem_ctx_->set_redo_log_id(log_id);
if (OB_FAIL(get_partition(pkey, guard))) {
STORAGE_LOG(WARN, "get partition failed", K(pkey), K(ret));
} else if (OB_ISNULL(guard.get_partition_group())) {