mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Merge pull request #174 from mattkirby/pooler_48
(POOLER-48) Clear migrations at application start time
This commit is contained in:
commit
1bbd623609
1 changed files with 2 additions and 0 deletions
|
|
@ -719,6 +719,8 @@ module Vmpooler
|
|||
|
||||
# Clear out the tasks manager, as we don't know about any tasks at this point
|
||||
$redis.set('vmpooler__tasks__clone', 0)
|
||||
# Clear out vmpooler__migrations since stale entries may be left after a restart
|
||||
$redis.del('vmpooler__migration')
|
||||
|
||||
loop do
|
||||
if ! $threads['disk_manager']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue