Tango icon indicating copy to clipboard operation
Tango copied to clipboard

resetTango should validate and clean up the machines dictionary

Open cg2v opened this issue 8 years ago • 2 comments

I have encountered a couple of situations in testing where the preallocator's machines datastructure got out of sync. There were machine ids in the list that no longer had an entry in the relevant queue, which prevented any jobs from being scheduled on that machine. If all machines get in that state, job scheduling would halt. #77 fixes some of these, but it probably makes sense to either reset the preallocator state or validate it when tango is reset.

cg2v avatar Jul 15 '15 15:07 cg2v