You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by li...@apache.org on 2019/02/21 01:57:25 UTC

[incubator-iotdb] branch fix_OpenFileNumUtilTest_failure_lr updated: set isOutputValid initial value to false

This is an automated email from the ASF dual-hosted git repository.

liurui pushed a commit to branch fix_OpenFileNumUtilTest_failure_lr
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_OpenFileNumUtilTest_failure_lr by this push:
     new ccff156  set isOutputValid initial value to false
ccff156 is described below

commit ccff156ab861dcc98c4621f04e882a9f7c6e360d
Author: liuruiyiyang <24...@qq.com>
AuthorDate: Thu Feb 21 09:57:14 2019 +0800

    set isOutputValid initial value to false
---
 iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java b/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
index 231bd86..eaa8372 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
@@ -49,7 +49,7 @@ public class OpenFileNumUtil {
   private static IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
   private static Directories directories = Directories.getInstance();
   private static final String[] COMMAND_TEMPLATE = {"/bin/bash", "-c", ""};
-  private static boolean isOutputValid;
+  private static boolean isOutputValid = false;
   private int pid;
 
   /**