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.
Reviewed: https:/ /review. openstack. org/12378 github. com/openstack/ swift/commit/ 46a093f068a158b 72479522792509a 882d3e47f1
Committed: http://
Submitter: Jenkins
Branch: master
commit 46a093f068a158b 72479522792509a 882d3e47f1
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 replicator would attempt to listdir() it, raise an exception, and
object-
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: Id65d3eab2effd6 1c3f6b25250611c 88c907b2a16