|
@@ -1746,7 +1746,10 @@ static void timer_function_orf_token_timeout (void *data)
|
|
|
log_printf (instance->totemsrp_log_level_debug,
|
|
log_printf (instance->totemsrp_log_level_debug,
|
|
|
"The token was lost in the OPERATIONAL state.");
|
|
"The token was lost in the OPERATIONAL state.");
|
|
|
log_printf (instance->totemsrp_log_level_notice,
|
|
log_printf (instance->totemsrp_log_level_notice,
|
|
|
- "A processor failed, forming new configuration.");
|
|
|
|
|
|
|
+ "A processor failed, forming new configuration:"
|
|
|
|
|
+ " token timed out (%ums), waiting %ums for consensus.",
|
|
|
|
|
+ instance->totem_config->token_timeout,
|
|
|
|
|
+ instance->totem_config->consensus_timeout);
|
|
|
totemnet_iface_check (instance->totemnet_context);
|
|
totemnet_iface_check (instance->totemnet_context);
|
|
|
memb_state_gather_enter (instance, TOTEMSRP_GSFROM_THE_TOKEN_WAS_LOST_IN_THE_OPERATIONAL_STATE);
|
|
memb_state_gather_enter (instance, TOTEMSRP_GSFROM_THE_TOKEN_WAS_LOST_IN_THE_OPERATIONAL_STATE);
|
|
|
instance->stats.operational_token_lost++;
|
|
instance->stats.operational_token_lost++;
|
|
@@ -1754,7 +1757,8 @@ static void timer_function_orf_token_timeout (void *data)
|
|
|
|
|
|
|
|
case MEMB_STATE_GATHER:
|
|
case MEMB_STATE_GATHER:
|
|
|
log_printf (instance->totemsrp_log_level_debug,
|
|
log_printf (instance->totemsrp_log_level_debug,
|
|
|
- "The consensus timeout expired.");
|
|
|
|
|
|
|
+ "The consensus timeout expired (%ums).",
|
|
|
|
|
+ instance->totem_config->consensus_timeout);
|
|
|
memb_state_consensus_timeout_expired (instance);
|
|
memb_state_consensus_timeout_expired (instance);
|
|
|
memb_state_gather_enter (instance, TOTEMSRP_GSFROM_THE_CONSENSUS_TIMEOUT_EXPIRED);
|
|
memb_state_gather_enter (instance, TOTEMSRP_GSFROM_THE_CONSENSUS_TIMEOUT_EXPIRED);
|
|
|
instance->stats.gather_token_lost++;
|
|
instance->stats.gather_token_lost++;
|