Skip to content

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

*) Index Transfer should only restart at the beginning if the delete option is configured. Otherwise we have an endless loop

theli5048b05bc6a0
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 {