Fix mig param destruct order issue
This commit is contained in:
@ -1143,6 +1143,7 @@ void ObMigrationTabletParam::reset()
|
|||||||
ddl_execution_id_ = -1;
|
ddl_execution_id_ = -1;
|
||||||
ddl_cluster_version_ = 0;
|
ddl_cluster_version_ = 0;
|
||||||
max_serialized_medium_scn_ = 0;
|
max_serialized_medium_scn_ = 0;
|
||||||
|
allocator_.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
int ObMigrationTabletParam::assign(const ObMigrationTabletParam ¶m)
|
int ObMigrationTabletParam::assign(const ObMigrationTabletParam ¶m)
|
||||||
|
|||||||
@ -197,7 +197,7 @@ struct ObMigrationTabletParam final
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ObMigrationTabletParam();
|
ObMigrationTabletParam();
|
||||||
~ObMigrationTabletParam() = default;
|
~ObMigrationTabletParam() { reset(); }
|
||||||
ObMigrationTabletParam(const ObMigrationTabletParam &) = delete;
|
ObMigrationTabletParam(const ObMigrationTabletParam &) = delete;
|
||||||
ObMigrationTabletParam &operator=(const ObMigrationTabletParam &) = delete;
|
ObMigrationTabletParam &operator=(const ObMigrationTabletParam &) = delete;
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user