浏览代码

Revert "Restore lost Node#start no-op check"

This reverts commit ddfa3a661510f25c2ce431dfd6fb86ac11eb8888.
Jason Tedor 9 年之前
父节点
当前提交
f87c599ff1
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      core/src/main/java/org/elasticsearch/node/Node.java

+ 0 - 3
core/src/main/java/org/elasticsearch/node/Node.java

@@ -379,9 +379,6 @@ public class Node implements Closeable {
     }
     }
 
 
     private Node stop() {
     private Node stop() {
-        if (lifecycle.moveToStarted()) {
-            return this;
-        }
         if (!lifecycle.moveToStopped()) {
         if (!lifecycle.moveToStopped()) {
             return this;
             return this;
         }
         }