Updates:
Status: Fixed
Cc: [email protected]
Comment #1 on issue 723 by [email protected]: The sporadic failures of
gnt-job cancel
http://code.google.com/p/ganeti/issues/detail?id=723
Fixed in:
commit e6e17529e424ef17be50196ddc78c880fb0e584c
Author: Hrvoje Ribicic <[email protected]>
Date: Thu Feb 20 15:11:32 2014 +0100
Improve job status assert affected by race condition
In the sliver of time between choosing a waiting job to be executed and
trying to acquire locks for its execution, the status of the job can be
changed to canceling. An assert checking the job status neglected to
take this into account, and raised an error that managed to perpetually
lock the job in the canceling state. This patch resolves the issue by
making the assert accept the canceling state as well, and exiting if
the job was cancelled.
Signed-off-by: Hrvoje Ribicic <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings