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