removed possible deadlock, see

http://forum.yacy-websuche.de/viewtopic.php?p=17017#p17017

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6251 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 5cc17ccf8a
commit 6354b5e447

@ -118,7 +118,8 @@ public final class MetadataRepository implements Iterable<byte[]> {
URLMetadataRow oldEntry;
try {
if (exists(entry.hash())) {
oldEntry = load(entry.hash(), null, 0);
Row.Entry oe = urlIndexFile.get(entry.hash().getBytes());
oldEntry = (oe == null) ? null : new URLMetadataRow(oe, null, 0);
} else {
oldEntry = null;
}

Loading…
Cancel
Save