[Pvfs2-cvs] commit by bligon in
pvfs2/src/io/trove/trove-handle-mgmt: trove-handle-mgmt.c
CVS commit program
cvs at parl.clemson.edu
Fri Jun 10 15:26:06 EDT 2011
Update of /projects/cvsroot/pvfs2/src/io/trove/trove-handle-mgmt
In directory parlweb1:/tmp/cvs-serv9986/src/io/trove/trove-handle-mgmt
Modified Files:
Tag: test-duplicate-patch
trove-handle-mgmt.c
Log Message:
Apply patch from Phil Carns that removes duplicate handles from the result
set produced by the iterate-handle function. Duplicates were probably
introduced by an old version of BDB, pre 4.8.
Index: trove-handle-mgmt.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-handle-mgmt/trove-handle-mgmt.c,v
diff -p -u -r1.46 -r1.46.76.1
--- trove-handle-mgmt.c 15 Aug 2007 18:43:09 -0000 1.46
+++ trove-handle-mgmt.c 10 Jun 2011 19:26:05 -0000 1.46.76.1
@@ -126,10 +126,9 @@ static int trove_check_handle_ranges(TRO
ret = trove_handle_remove(ledger, handles[i]);
if (ret != 0)
{
- gossip_debug(
- GOSSIP_TROVE_DEBUG, "could not remove "
- "handle %llu\n", llu(handles[i]));
- break;
+ gossip_err(
+ "WARNING: could not remove "
+ "handle %llu from ledger; continuing.\n", llu(handles[i]));
}
}
ret = ((i == count) ? 0 : -1);
More information about the Pvfs2-cvs
mailing list