[CP] Fix batch create partitions rollback core
This commit is contained in:
committed by
wangzelin.wzl
parent
8ce40d33af
commit
25b3b3fff8
@ -3148,7 +3148,7 @@ int ObPartitionGroup::check_can_do_merge(bool& can_merge, bool& need_merge)
|
||||
ObReplicaType ObPartitionGroup::get_replica_type() const
|
||||
{
|
||||
int tmp_ret = OB_SUCCESS;
|
||||
ObReplicaType replica_type;
|
||||
ObReplicaType replica_type = ObReplicaType::REPLICA_TYPE_MAX;
|
||||
|
||||
if (OB_SUCCESS != (tmp_ret = pg_storage_.get_replica_type(replica_type))) {
|
||||
STORAGE_LOG(WARN, "get replica_type error", K(tmp_ret), K_(pkey), K(replica_type));
|
||||
|
||||
Reference in New Issue
Block a user