Browse Source

remove stale comment in IndexShard

Boaz Leskes 7 years ago
parent
commit
247efa86bf
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/src/main/java/org/elasticsearch/index/shard/IndexShard.java

+ 0 - 2
core/src/main/java/org/elasticsearch/index/shard/IndexShard.java

@@ -141,7 +141,6 @@ import java.io.PrintStream;
 import java.nio.channels.ClosedByInterruptException;
 import java.nio.charset.StandardCharsets;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.EnumSet;
 import java.util.List;
@@ -415,7 +414,6 @@ public class IndexShard extends AbstractIndexShardComponent implements IndicesCl
                 }
 
                 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());
                 }