Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

addition to patch in SVN 7111

orbiter8da4eb5de600
diff --git a/source/net/yacy/kelondro/blob/HeapReader.java b/source/net/yacy/kelondro/blob/HeapReader.java
index 1d9a7a50e..91028b87b 100644
--- a/source/net/yacy/kelondro/blob/HeapReader.java
+++ b/source/net/yacy/kelondro/blob/HeapReader.java
@@ -423,6 +423,9 @@ public class HeapReader {
// verification of the indexed access failed. we must re-read the index
Log.logSevere("kelondroBLOBHeap", "indexed verification access failed for " + heapFile.toString());
// this is a severe operation, it should never happen.
+ // remove entry from index because keeping that element in the index would not make sense
+ index.remove(key);
+ // nothing to return
return null;
// but if the process ends in this state, it would completely fail
// if the index is not rebuild now at once