]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Avoid race condition in find_stale_locks() 438/head
authorZack Cerza <zack@redhat.com>
Fri, 13 Feb 2015 19:25:19 +0000 (12:25 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 13 Feb 2015 20:49:03 +0000 (13:49 -0700)
commit48a524437e365014b2ff6377b59677bb73e6138a
tree26621940a4a077caa99100923acaeae42a1bcaac
parentc709453933adf53371f5d68ca49662299ed1232c
Avoid race condition in find_stale_locks()

Because of the way we were checking nodes against running jobs, it was
possible to falsely report nodes as stale if they were part of a job
that was transitioning from the waiting to running state.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/lock.py