From d1bb31cee9482ffed24864b3bbc5f66545271b8d Mon Sep 17 00:00:00 2001 From: dormando Date: Mon, 2 Aug 2010 01:17:39 +0000 Subject: [PATCH] allow chunk verification with --noreplwait Report and patch by Theo Chakkapark git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1460 f67b2e87-0811-0410-a7e0-dd94e48410d6 --- mogtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mogtool b/mogtool index a3ab7d2..f6936d8 100755 --- a/mogtool +++ b/mogtool @@ -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}) {