From 5048b05bc6a03224bdaec5507102fe6ae95f221b Mon Sep 17 00:00:00 2001 From: theli Date: Sun, 14 May 2006 13:27:50 +0000 Subject: [PATCH] *) Index Transfer should only restart at the beginning if the delete option is configured. Otherwise we have an endless loop git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2092 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaDHTFlush.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaDHTFlush.java b/source/de/anomic/plasma/plasmaDHTFlush.java index d5a7a236c..b25196926 100644 --- a/source/de/anomic/plasma/plasmaDHTFlush.java +++ b/source/de/anomic/plasma/plasmaDHTFlush.java @@ -170,7 +170,7 @@ public class plasmaDHTFlush extends Thread { * b) max open file limit was exceeded */ if (nothingSelected(newDHTChunk)) { - if (this.sb.wordIndex.size() > 0) { + if (this.sb.wordIndex.size() > 0 && this.delete) { // if there are still words in the index we try it again now this.startPointHash = "------------"; } else {