Ensure multi machine access of other machine state information through iterating `active_machines` and retrieval of cached machines cannot have multiple threads update the state of machines simultaneously as this triggers a Machine Lock exception. Machine state information retrieved from the index, returns a locked object. Since iteration of active_machine, and retrieval of each machine from the cache can be triggered by any plugin, it is possible for another machine to inadvertently access the state and trigger an update, which the thread owning the machine is currently in the process of updating it already. This results in a Machine Locked exception occurring if the attempt to retrieve the cached state from the index occurs before the other thread calls release. Partially-Fixes: #6526 |
||
---|---|---|
.. | ||
vagrant | ||
vagrant.rb |