You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2015/02/04 21:02:50 UTC
svn commit: r1657395 - in /vcl/trunk/managementnode/lib/VCL: Module/State.pm
new.pm
Author: arkurth
Date: Wed Feb 4 20:02:50 2015
New Revision: 1657395
URL: http://svn.apache.org/r1657395
Log:
VCL-16
Increased the timeout in State.pm::initialize from 90 to 300 seconds when waiting for child reservations to begin. Increased interval between checks while waiting for child reservations to begin and exit to 30 seconds.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/State.pm
vcl/trunk/managementnode/lib/VCL/new.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/State.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/State.pm?rev=1657395&r1=1657394&r2=1657395&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/State.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/State.pm Wed Feb 4 20:02:50 2015
@@ -116,7 +116,7 @@ sub initialize {
# If this is a cluster request, wait for all reservations to begin before proceeding
if ($reservation_count > 1) {
- if (!$self->wait_for_all_reservations_to_begin('begin', 90, 5)) {
+ if (!$self->wait_for_all_reservations_to_begin('begin', 300, 30)) {
$self->reservation_failed("failed to detect start of processing for all reservation processes", 'available');
}
}
@@ -661,7 +661,7 @@ sub wait_for_all_reservations_to_begin {
}
my $total_wait_seconds = shift || 300;
- my $attempt_delay_seconds = shift || 15;
+ my $attempt_delay_seconds = shift || 30;
my $request_id = $self->data->get_request_id();
my $request_state_name = $self->data->get_request_state_name();
@@ -732,7 +732,7 @@ sub wait_for_child_reservations_to_exit
}
my $total_wait_seconds = shift || 300;
- my $attempt_delay_seconds = shift || 15;
+ my $attempt_delay_seconds = shift || 30;
my $request_id = $self->data->get_request_id();
my $request_state_name = $self->data->get_request_state_name();
Modified: vcl/trunk/managementnode/lib/VCL/new.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/new.pm?rev=1657395&r1=1657394&r2=1657395&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/new.pm Wed Feb 4 20:02:50 2015
@@ -1037,8 +1037,8 @@ sub wait_for_child_reservations {
# Set limits on how long to wait
my $overall_timeout_minutes = 60;
- my $nochange_timeout_minutes = 20;
- my $monitor_delay_seconds = 3;
+ my $nochange_timeout_minutes = 30;
+ my $monitor_delay_seconds = 30;
my $overall_timeout_seconds = ($overall_timeout_minutes * 60);
my $nochange_timeout_seconds = ($nochange_timeout_minutes * 60);