Comment 2 for bug 1045954

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/12378
Committed: http://github.com/openstack/swift/commit/46a093f068a158b72479522792509a882d3e47f1
Submitter: Jenkins
Branch: master

commit 46a093f068a158b72479522792509a882d3e47f1
Author: Darrell Bishop <email address hidden>
Date: Tue Sep 4 13:59:26 2012 -0700

    Obj replicator cleans up files where part dirs should be.

    If a partition directory was a file instead of a directory, the
    object-replicator would attempt to listdir() it, raise an exception, and
    try again next iteration. This condition could arise after running
    xfs_repair.

    Now, collect_jobs() will reap any partition directories which are
    actually files. Fixes bug 1045954.

    Change-Id: Id65d3eab2effd61c3f6b25250611c88c907b2a16