*) 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
pull/1/head
theli 19 years ago
parent 53d9ab6db7
commit 5048b05bc6

@ -170,7 +170,7 @@ public class plasmaDHTFlush extends Thread {
* b) max open file limit was exceeded * b) max open file limit was exceeded
*/ */
if (nothingSelected(newDHTChunk)) { 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 // if there are still words in the index we try it again now
this.startPointHash = "------------"; this.startPointHash = "------------";
} else { } else {

Loading…
Cancel
Save