The ``communication-interrupted`` boolean value indicates if the server
receiving the ``status-get`` command (local server) has been unable to
communicate with the partner longer than the duration specified as
-``max-response-delay``. In such situation we say that active servers are
+``max-response-delay``. In such a situation we say that active servers are
in the communication interrupted state or that the communication between
them is interrupted. At this point, the local server may start monitoring
the DHCP traffic directed to the partner to see if the partner is
}
}
+ // Only log the first time we detect a client is unacked.
if (log_unacked) {
unsigned unacked_left = 0;
if (config_->getMaxUnackedClients() > getUnackedClientsCount()) {
}
}
+ // Only log the first time we detect a client is unacked.
if (log_unacked) {
unsigned unacked_left = 0;
if (config_->getMaxUnackedClients() > getUnackedClientsCount()) {
virtual bool failureDetected() const = 0;
/// @brief Returns the current number of clients which attempted
- /// to get the lease from the partner server.
+ /// to get a lease from the partner server.
///
/// The returned number is reset to 0 when the server successfully
/// establishes communication with the partner. The number is
virtual bool failureDetected() const;
/// @brief Returns the current number of clients which attempted
- /// to get the lease from the partner server.
+ /// to get a lease from the partner server.
///
/// The returned number is reset to 0 when the server successfully
/// establishes communication with the partner. The number is
/// @return The number of clients including unacked clients.
virtual size_t getConnectingClientsCount() const;
- /// @brief Returns the current number of clients which haven't got
- /// the lease from the partner server.
+ /// @brief Returns the current number of clients which haven't gotten
+ /// a lease from the partner server.
///
/// The returned number is reset to 0 when the server successfully
/// establishes communication with the partner. The number is
virtual bool failureDetected() const;
/// @brief Returns the current number of clients which attempted
- /// to get the lease from the partner server.
+ /// to get a lease from the partner server.
///
/// The returned number is reset to 0 when the server successfully
/// establishes communication with the partner. The number is
/// @return The number of clients including unacked clients.
virtual size_t getConnectingClientsCount() const;
- /// @brief Returns the current number of clients which haven't got
- /// the lease from the partner server.
+ /// @brief Returns the current number of clients which haven't gotten
+ /// a lease from the partner server.
///
/// The returned number is reset to 0 when the server successfully
/// establishes communication with the partner. The number is
/// See @c CommunicationState::analyzeMessage for details.
virtual void clearConnectingClients();
- /// @brief Structure holding information about the client which has
- /// send the packet being analyzed.
+ /// @brief Structure holding information about a client which
+ /// sent a packet being analyzed.
struct ConnectingClient6 {
std::vector<uint8_t> duid_;
bool unacked_;
% HA_COMMUNICATION_INTERRUPTED_CLIENT4 %1: new client attempting to get a lease from the partner
This informational message is issued when the surviving server observes
a DHCP packet sent to the partner with which the commuication is interrupted.
-The client which packet is observed is not yet considered "unacked" because
+The client whose packet is observed is not yet considered "unacked" because
the secs field value does not exceed the configured threshold specified
with max-ack-delay.
such clients and if the number of such clients exceeds the max-unacked-clients
threshold, the server will transition to the partner-down state. The first
argument contains client identification information. The second argument
-specifies the number of clients which the server failed to respond to. The
-third argument specifies the number of additional clients which, if not
+specifies the number of clients to which the server has failed to respond.
+The third argument specifies the number of additional clients which, if not
provisioned, will cause the server to transition to the partner-down state.
% HA_COMMUNICATION_INTERRUPTED_CLIENT6 %1: new client attempting to get a lease from the partner
This informational message is issued when the surviving server observes
a DHCP packet sent to the partner with which the commuication is interrupted.
-The client which packet is observed is not yet considered "unacked" because
+The client whose packet is observed is not yet considered "unacked" because
the elapsed time option value does not exceed the configured threshold
specified with max-ack-delay. The sole argument specifies client
identification information.
such clients and if the number of such clients exceeds the max-unacked-clients
threshold, the server will transition to the partner-down state. The first
argument contains client identification information. The second argument
-specifies the number of clients which the server failed to respond to. The
-third argument specifies the number of additional clients which, if not
+specifies the number of clients to which the server has failed to respond.
+The third argument specifies the number of additional clients which, if not
provisioned, will cause the server to transition to the partner-down state.
% HA_CONFIGURATION_FAILED failed to configure High Availability hooks library: %1