Author: arkurth
Date: Tue Feb 3 19:00:13 2015
New Revision: 1656887
URL: http://svn.apache.org/r1656887
Log:
VCL-16
Changed timeout in reserved.pm from 180 to 360 seconds when it the parent
cluster reservation is waiting for all child reservations to insert a
'postreserve' computerloadlog entry. It was timing out before child
reservations completed running a vcl_post_load script. The timeout for each
child running the script is 300 seconds.
Modified:
vcl/trunk/managementnode/lib/VCL/reserved.pm
Modified: vcl/trunk/managementnode/lib/VCL/reserved.pm
URL:
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/reserved.pm?rev=1656887&r1=1656886&r2=1656887&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/reserved.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/reserved.pm Tue Feb 3 19:00:13 2015
@@ -227,7 +227,7 @@ sub process {
# Otherwise, the state will change to inuse while the child processes
are still finishing up the reserved state
# vcld will then fail to fork inuse processes for the child reservations
if ($reservation_count > 1 && $is_parent_reservation) {
- if
(!$self->code_loop_timeout(sub{$self->wait_for_child_reservations()}, [],
"waiting for child reservation reserved processes to complete", 180, 5)) {
+ if
(!$self->code_loop_timeout(sub{$self->wait_for_child_reservations()}, [],
"waiting for child reservation reserved processes to complete", 360, 5)) {
$self->reservation_failed('all child reservation
reserved processes did not complete');
}