Skip to content

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

fix for problen when accessing the metadata index. The index was not available for all peers with no RAM table copy.

orbiter25024d6ab298
diff --git a/source/net/yacy/kelondro/table/Table.java b/source/net/yacy/kelondro/table/Table.java
index 7e078b7d0..05df29923 100644
--- a/source/net/yacy/kelondro/table/Table.java
+++ b/source/net/yacy/kelondro/table/Table.java
@@ -483,7 +483,6 @@ public class Table implements ObjectIndex, Iterable<Row.Entry> {
}
assert table == null || table.size() == index.size() : "table.size() = " + table.size() + ", index.size() = " + index.size();
*/
- if (table == null) return false; // may appear during shutdown
return index.has(key);
}