2218. [func] marcin
Addressed an inconsistent state of the High Availability
- service in case one of the terminated services is restarted
- and another one is not. The restarted service waits 10
- minutes for the partner restart. If the partner is not
- restarted the service transitions to the terminated state
- to continue responding to the DHCP traffic.
+ service that occurs when one of the terminated services is
+ restarted and another one is not. The restarted service waits 10
+ minutes for the partner restart. If the partner is not restarted
+ the service transitions to the terminated state to continue
+ responding to the DHCP traffic.
(Gitlab #3250)
2217. [func] fdupont
% HA_TERMINATED_PARTNER_DID_NOT_RESTART %1: service is terminating because the terminated partner was not restarted within %2 minutes
This warning message is issued to indicate that the HA service is terminating
because partner server is in the terminated state and was not restarted within
-an expacted time frame. The terminated servers should be restarted after correcting
+an expected time frame. The terminated servers should be restarted after correcting
the problem that caused the termination. They can be restarted sequentially but the
duration between the restarts should not be too long. If it is long it may mean that
the restart of one of the servers was unintentional (e.g., power outage). If the
/// tested in a different test case.
void partnerStateUnavailableTest();
- /// @brief Verifies that the duration since the partner time is updated
+ /// @brief Verifies that the duration since the partner state time is updated
/// correctly when the partner has certain state.
void partnerStateTimeExplicitStateTest();
- /// @brief Verifies that the duration since the partner time is updated
+ /// @brief Verifies that the duration since the partner state time is updated
/// correctly when the partner is unavailable.
void partnerStateTimeUnavailableTest();
EXPECT_THROW(state_.setPartnerState("unsupported"), BadValue);
}
-// Verifies that the duration since the partner time is updated
+// Verifies that the duration since the partner state time is updated
// correctly when the partner has certain state.
void
CommunicationStateTest::partnerStateTimeExplicitStateTest() {
EXPECT_LT(duration_since_waiting.seconds(), 10);
}
-// Verifies that the duration since the partner time is updated
+// Verifies that the duration since the partner state time is updated
// correctly when the partner is unavailable.
void
CommunicationStateTest::partnerStateTimeUnavailableTest() {