You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2020/04/13 08:01:09 UTC

[incubator-iotdb] branch cluster_data_snapshot updated (9302f7e -> 1df92c8)

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

jiangtian pushed a change to branch cluster_data_snapshot
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


    from 9302f7e  update commit index when applying data snapshot
     add de585bf  modify site & docs (#1010)
     add fe62499  [IOTDB-583] Start API services at last (#1013)
     add 5151ad9  Remove disable align syntax within LAST query (#1016)
     add ff60c5e  add a device template example in session-example (#1017)
     add c2d9ab4  [IOTDB-574] Specify configuration when start iotdb  (#1000)
     add f5edb58  separate file version from chunk version
     new 1df92c8  Merge branch 'separate_file_version' into cluster_data_snapshot

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../2-Single Node Setup.md => Community/ASF.md}    |  17 +-
 .../2-Single Node Setup.md => Community/Wiki.md}   |  14 +-
 .../5-Operation Manual/4-SQL Reference.md          |  17 +-
 .../2-Single Node Setup.md => zh/Community/ASF.md} |  17 +-
 docs/zh/Community/Community-History&Vision.md      |  24 --
 .../Community/Wiki.md}                             |   8 +-
 .../5-Operation Manual/4-SQL Reference.md          |  16 +-
 .../main/java/org/apache/iotdb/SessionExample.java |  23 +-
 server/pom.xml                                     |   4 +
 .../src/assembly/resources/sbin/start-server.bat   |  16 +-
 server/src/assembly/resources/sbin/start-server.sh |  20 +-
 .../org/apache/iotdb/db/concurrent/ThreadName.java |   4 +-
 .../org/apache/iotdb/db/conf/IoTDBDescriptor.java  |  39 ++-
 .../engine/storagegroup/StorageGroupProcessor.java |  30 +-
 ...viceException.java => RPCServiceException.java} |   6 +-
 .../iotdb/db/qp/strategy/PhysicalGenerator.java    |   4 +-
 .../java/org/apache/iotdb/db/service/IoTDB.java    |  19 +-
 .../service/{JDBCService.java => RPCService.java}  |  78 +++--
 ...entHandler.java => RPCServiceEventHandler.java} |   7 +-
 ...{JDBCServiceMBean.java => RPCServiceMBean.java} |   4 +-
 .../org/apache/iotdb/db/service/ServiceType.java   |   2 +-
 .../iotdb/db/sync/receiver/SyncServerManager.java  |   1 -
 .../apache/iotdb/db/integration/IoTDBLastIT.java   |   2 +-
 .../apache/iotdb/db/qp/plan/PhysicalPlanTest.java  |   2 +-
 site/src/main/.vuepress/components/Contributor.vue | 333 +++++++++++++--------
 site/src/main/.vuepress/config.js                  |  48 +--
 .../public/img/contributor-avatar/user.jpg         | Bin 7637 -> 0 bytes
 .../public/img/contributor-avatar/user.svg         |  51 ++++
 site/src/main/.vuepress/style.styl                 |  17 --
 site/src/main/.vuepress/styles/palette.styl        |  22 +-
 .../iotdb/tsfile/common/conf/TSFileDescriptor.java |   2 +
 31 files changed, 502 insertions(+), 345 deletions(-)
 copy docs/{UserGuide/3-Server/2-Single Node Setup.md => Community/ASF.md} (62%)
 copy docs/{UserGuide/3-Server/2-Single Node Setup.md => Community/Wiki.md} (77%)
 copy docs/{UserGuide/3-Server/2-Single Node Setup.md => zh/Community/ASF.md} (63%)
 delete mode 100644 docs/zh/Community/Community-History&Vision.md
 rename docs/{Community/Community-History&Vision.md => zh/Community/Wiki.md} (77%)
 rename server/src/main/java/org/apache/iotdb/db/exception/runtime/{JDBCServiceException.java => RPCServiceException.java} (85%)
 rename server/src/main/java/org/apache/iotdb/db/service/{JDBCService.java => RPCService.java} (73%)
 rename server/src/main/java/org/apache/iotdb/db/service/{JDBCServiceEventHandler.java => RPCServiceEventHandler.java} (87%)
 rename server/src/main/java/org/apache/iotdb/db/service/{JDBCServiceMBean.java => RPCServiceMBean.java} (93%)
 delete mode 100644 site/src/main/.vuepress/public/img/contributor-avatar/user.jpg
 create mode 100644 site/src/main/.vuepress/public/img/contributor-avatar/user.svg
 delete mode 100644 site/src/main/.vuepress/style.styl


[incubator-iotdb] 01/01: Merge branch 'separate_file_version' into cluster_data_snapshot

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1df92c86628cbbc6c3bf65483b8de02583535926
Merge: 9302f7e f5edb58
Author: jt2594838 <jt...@163.com>
AuthorDate: Mon Apr 13 16:00:52 2020 +0800

    Merge branch 'separate_file_version' into cluster_data_snapshot

 .../{Community-History&Vision.md => ASF.md}        |  11 +-
 .../Wiki.md}                                       |  14 +-
 .../5-Operation Manual/4-SQL Reference.md          |  17 +-
 .../Community/ASF.md}                              |  11 +-
 .../Community/Wiki.md}                             |   8 +-
 .../5-Operation Manual/4-SQL Reference.md          |  16 +-
 .../main/java/org/apache/iotdb/SessionExample.java |  23 +-
 server/pom.xml                                     |   4 +
 .../src/assembly/resources/sbin/start-server.bat   |  16 +-
 server/src/assembly/resources/sbin/start-server.sh |  20 +-
 .../org/apache/iotdb/db/concurrent/ThreadName.java |   4 +-
 .../org/apache/iotdb/db/conf/IoTDBDescriptor.java  |  39 ++-
 .../engine/storagegroup/StorageGroupProcessor.java |  30 +-
 ...viceException.java => RPCServiceException.java} |   6 +-
 .../iotdb/db/qp/strategy/PhysicalGenerator.java    |   4 +-
 .../java/org/apache/iotdb/db/service/IoTDB.java    |  19 +-
 .../service/{JDBCService.java => RPCService.java}  |  78 +++--
 ...entHandler.java => RPCServiceEventHandler.java} |   7 +-
 ...{JDBCServiceMBean.java => RPCServiceMBean.java} |   4 +-
 .../org/apache/iotdb/db/service/ServiceType.java   |   2 +-
 .../iotdb/db/sync/receiver/SyncServerManager.java  |   1 -
 .../apache/iotdb/db/integration/IoTDBLastIT.java   |   2 +-
 .../apache/iotdb/db/qp/plan/PhysicalPlanTest.java  |   2 +-
 site/src/main/.vuepress/components/Contributor.vue | 333 +++++++++++++--------
 site/src/main/.vuepress/config.js                  |  48 +--
 .../public/img/contributor-avatar/user.jpg         | Bin 7637 -> 0 bytes
 .../public/img/contributor-avatar/user.svg         |  51 ++++
 site/src/main/.vuepress/style.styl                 |  17 --
 site/src/main/.vuepress/styles/palette.styl        |  22 +-
 .../iotdb/tsfile/common/conf/TSFileDescriptor.java |   2 +
 30 files changed, 506 insertions(+), 305 deletions(-)

diff --cc server/src/main/java/org/apache/iotdb/db/service/RPCService.java
index 761ea3f,a1aeaa5..cd1ae74
--- a/server/src/main/java/org/apache/iotdb/db/service/RPCService.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/RPCService.java
@@@ -215,27 -207,24 +208,25 @@@ public class RPCService implements RPCS
              .stopTimeoutVal(
                  IoTDBDescriptor.getInstance().getConfig().getThriftServerAwaitTimeForStopService());
          poolArgs.executorService = IoTDBThreadPoolFactory.createThriftRpcClientThreadPool(poolArgs,
-             ThreadName.JDBC_CLIENT.getName());
+             ThreadName.RPC_CLIENT.getName());
          poolArgs.processor(processor);
          poolArgs.protocolFactory(protocolFactory);
 +        poolArgs.transportFactory(new TFastFramedTransport.Factory());
          poolServer = new TThreadPoolServer(poolArgs);
-         poolServer.setServerEventHandler(new JDBCServiceEventHandler(impl, threadStartLatch));
+         poolServer.setServerEventHandler(new RPCServiceEventHandler(impl, threadStartLatch));
          poolServer.serve();
        } catch (TTransportException e) {
-         throw new JDBCServiceException(String.format("%s: failed to start %s, because ", IoTDBConstant.GLOBAL_DB_NAME,
+         throw new RPCServiceException(String.format("%s: failed to start %s, because ", IoTDBConstant.GLOBAL_DB_NAME,
              getID().getName()), e);
        } catch (Exception e) {
-         throw new JDBCServiceException(String.format("%s: %s exit, because ", IoTDBConstant.GLOBAL_DB_NAME, getID().getName()), e);
+         throw new RPCServiceException(String.format("%s: %s exit, because ", IoTDBConstant.GLOBAL_DB_NAME, getID().getName()), e);
        } finally {
          close();
-         // TODO debug log, will be deleted in production env
          if (threadStopLatch == null) {
-           logger.info("Stop Count Down latch is null");
+           logger.debug("Stop Count Down latch is null");
          } else {
-           logger.info("Stop Count Down latch is {}", threadStopLatch.getCount());
+           logger.debug("Stop Count Down latch is {}", threadStopLatch.getCount());
          }
-         // debug log, will be deleted in production env
  
          if (threadStopLatch != null && threadStopLatch.getCount() == 1) {
            threadStopLatch.countDown();