From 5e4fddc1e6171a725d6b51de8ed87165ca82535d Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 6 Apr 2008 18:47:49 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4652 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/kelondro/kelondroEcoFS.java | 2 ++ source/de/anomic/kelondro/kelondroEcoTable.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: