Displaying 1 result from an estimated 1 matches for "m001320".
Did you mean:
0001320
2010 Jun 08
1
[PATCH] Fix optimistic locking during vm migration
...,9 @@ class DbOmatic < Qmf::ConsoleHandler
end
@logger.info "Updating VM #{domain['name']} to state #{state}"
+ # Optimistic locking often fails for this operation
+ # See http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html#M001320
+ vm.lock!
if state == Vm::STATE_STOPPED
@logger.info "VM has moved to stopped, clearing VM attributes."
--
1.7.0.4