Skip to content

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

more logging for new EcoFS.ChunkIterator to find bug for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1024&hilit=&p=6806#p6806

orbiter5e4fddc1e617
diff --git a/source/de/anomic/kelondro/kelondroEcoFS.java b/source/de/anomic/kelondro/kelondroEcoFS.java
index 3a762b901..c74a05447 100644
--- a/source/de/anomic/kelondro/kelondroEcoFS.java
+++ b/source/de/anomic/kelondro/kelondroEcoFS.java
@@ -552,6 +552,7 @@ public class kelondroEcoFS {
try {
return stream != null && stream.available() > 0;
} catch (IOException e) {
+ e.printStackTrace();
return false;
}
}
@@ -571,6 +572,7 @@ public class kelondroEcoFS {
}
return chunk;
} catch (IOException e) {
+ e.printStackTrace();
this.stream = null;
return null;
}
diff --git a/source/de/anomic/kelondro/kelondroEcoTable.java b/source/de/anomic/kelondro/kelondroEcoTable.java
index af456c24f..9dd00e04b 100644
--- a/source/de/anomic/kelondro/kelondroEcoTable.java
+++ b/source/de/anomic/kelondro/kelondroEcoTable.java
@@ -41,7 +41,7 @@ import de.anomic.kelondro.kelondroRow.Entry;
import de.anomic.server.serverMemory;
/*
- * The EcoIndex builts upon the EcoFS and tries to reduce the number of IO requests that the
+ * The EcoIndex builds upon the EcoFS and tries to reduce the number of IO requests that the
* EcoFS must do to a minimum. In best cases, no IO has to be done for read operations (complete database shadow in RAM)
* and a rare number of write IO operations must be done for a large number of table-writings (using the write buffer of EcoFS)
* To make the EcoIndex scalable in question of available RAM, there are two elements that must be scalable: