remove stale comment in IndexShard

This commit is contained in:
Boaz Leskes 2017-12-13 14:52:05 +01:00
parent 55738ac1b9
commit 247efa86bf
1 changed files with 0 additions and 2 deletions

View File

@ -141,7 +141,6 @@ import java.io.PrintStream;
import java.nio.channels.ClosedByInterruptException; import java.nio.channels.ClosedByInterruptException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.List; import java.util.List;
@ -415,7 +414,6 @@ public class IndexShard extends AbstractIndexShardComponent implements IndicesCl
} }
if (newRouting.primary() && currentRouting.isRelocationTarget() == false) { if (newRouting.primary() && currentRouting.isRelocationTarget() == false) {
// there was no primary context hand-off in < 6.0.0, need to manually activate the shard
getEngine().seqNoService().activatePrimaryMode(getEngine().seqNoService().getLocalCheckpoint()); getEngine().seqNoService().activatePrimaryMode(getEngine().seqNoService().getLocalCheckpoint());
} }