[Election] fix election priority memory leak
This commit is contained in:
@ -132,9 +132,9 @@ private:
|
|||||||
bool is_observer_stopped_;// kill -15
|
bool is_observer_stopped_;// kill -15
|
||||||
bool is_server_stopped_;
|
bool is_server_stopped_;
|
||||||
bool is_zone_stopped_;
|
bool is_zone_stopped_;
|
||||||
common::ObSArray<FailureEvent> fatal_failures_;// negative infos
|
common::ObSEArray<FailureEvent, 3> fatal_failures_;// negative infos
|
||||||
bool is_primary_region_;
|
bool is_primary_region_;
|
||||||
common::ObSArray<FailureEvent> serious_failures_;// negative infos
|
common::ObSEArray<FailureEvent, 3> serious_failures_;// negative infos
|
||||||
share::SCN scn_;
|
share::SCN scn_;
|
||||||
bool is_in_blacklist_;
|
bool is_in_blacklist_;
|
||||||
common::ObStringHolder in_blacklist_reason_;
|
common::ObStringHolder in_blacklist_reason_;
|
||||||
|
|||||||
@ -239,6 +239,8 @@ private:// 定向暴露给友元类
|
|||||||
}
|
}
|
||||||
LOG_PHASE(TRACE, phase, "compare priority done");
|
LOG_PHASE(TRACE, phase, "compare priority done");
|
||||||
}
|
}
|
||||||
|
lhs_priority->~ElectionPriority();
|
||||||
|
rhs_priority->~ElectionPriority();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user