Skip to content

Commit

Permalink
allow chunk verification with --noreplwait
Browse files Browse the repository at this point in the history
Report and patch by Theo Chakkapark

git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1460 f67b2e87-0811-0410-a7e0-dd94e48410d6
  • Loading branch information
dormando committed Aug 2, 2010
1 parent 673d973 commit d1bb31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mogtool
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ MSG
error("FAILURE: chunk $num has no paths at all.", ERR_FATAL);
}

if (scalar(@npaths) >= 2) {
if (scalar(@npaths) >= 2 || $opts{noreplwait}) {
# okay, this one's replicated, actually verify the paths
foreach my $path (@npaths) {
if ($opts{verify}) {
Expand Down

0 comments on commit d1bb31c

Please sign in to comment.