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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1132192  fixed typo (#1674)
1132192 is described below

commit 1132192d8a0bf5641575d67c3de548ceed1b62f4
Author: Haimei Guo <[email protected]>
AuthorDate: Wed Sep 2 19:11:29 2020 +0800

    fixed typo (#1674)
---
 docs/SystemDesign/StorageEngine/DataManipulation.md    | 6 +++---
 docs/zh/SystemDesign/StorageEngine/DataManipulation.md | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/SystemDesign/StorageEngine/DataManipulation.md 
b/docs/SystemDesign/StorageEngine/DataManipulation.md
index 68c1069..4873a8d 100644
--- a/docs/SystemDesign/StorageEngine/DataManipulation.md
+++ b/docs/SystemDesign/StorageEngine/DataManipulation.md
@@ -33,10 +33,10 @@ The following describes four common data manipulation 
operations, which are inse
 * Main entrance: ```public void insert(InsertRowPlan insertRowPlan)```   
StorageEngine.java
   * Find the corresponding StorageGroupProcessor
   * Find the corresponding TsFileProcessor according to the time of writing 
the data and the last time stamp of the current device order
-  * Pre-write log
-  * Typo in mestable corresponding to TsFileProcessor
+  * Write to the corresponding memtable of TsFileProcessor
       * If the file is out of order, update the endTimeMap in tsfileResource
       * If there is no information about the device in tsfile, then update the 
startTimeMap in tsfileResource
+  * Pre-write log
   * Determine whether to trigger asynchronous persistent memtable operation 
based on memtable size
       * If it is a sequential file and the flashing action is performed, the 
endTimeMap in tsfileResource is updated
   * Determine whether to trigger a file close operation based on the size of 
the current disk TsFile
@@ -49,10 +49,10 @@ The following describes four common data manipulation 
operations, which are inse
 * Main entrance: ```public void insertTablet(InsertTabletPlan 
insertTabletPlan)```  StorageEngine.java
     * Find the corresponding StorageGroupProcessor
        * According to the time of this batch of data and the last timestamp of 
the current device order, this batch of data is divided into small batches, 
which correspond to a TsFileProcessor
-       * Pre-write log
        * Write each small batch to the corresponding memtable of 
TsFileProcessor
            * If the file is out of order, update the endTimeMap in 
tsfileResource
            * If there is no information about the device in tsfile, then 
update the startTimeMap in tsfileResource
+       * Pre-write log
        * Determine whether to trigger asynchronous persistent memtable 
operation based on memtable size
            * If it is a sequential file and the flashing action is performed, 
the endTimeMap in tsfileResource is updated
        * Determine whether to trigger a file close operation based on the size 
of the current disk TsFile
diff --git a/docs/zh/SystemDesign/StorageEngine/DataManipulation.md 
b/docs/zh/SystemDesign/StorageEngine/DataManipulation.md
index 37a05de..e24c48f 100644
--- a/docs/zh/SystemDesign/StorageEngine/DataManipulation.md
+++ b/docs/zh/SystemDesign/StorageEngine/DataManipulation.md
@@ -34,10 +34,10 @@
 * 总入口: public void insert(InsertRowPlan insertRowPlan)   StorageEngine.java
        * 找到对应的 StorageGroupProcessor
        * 根据写入数据的时间以及当前设备落盘的最后时间戳,找到对应的 TsFileProcessor
-       * 记录写前日志
        * 写入 TsFileProcessor 对应的 memtable 中
            * 如果是乱序文件,则更新tsfileResource中的endTimeMap
            * 如果tsfile中没有该设备的信息,则更新tsfileResource中的startTimeMap
+       * 记录写前日志
        * 根据 memtable 大小,来判断是否触发异步持久化 memtable 操作
            * 如果是顺序文件且执行了刷盘动作,则更新tsfileResource中的endTimeMap
        * 根据当前磁盘 TsFile 的大小,判断是否触发文件关闭操作
@@ -50,10 +50,10 @@
 * 总入口: public void insertTablet(InsertTabletPlan insertTabletPlan)  
StorageEngine.java
     * 找到对应的 StorageGroupProcessor
        * 根据这批数据的时间以及当前设备落盘的最后时间戳,将这批数据分成小批,分别对应到一个 TsFileProcessor 中
-       * 记录写前日志
        * 分别将每小批写入 TsFileProcessor 对应的 memtable 中
            * 如果是乱序文件,则更新tsfileResource中的endTimeMap
            * 如果tsfile中没有该设备的信息,则更新tsfileResource中的startTimeMap
+       * 记录写前日志
        * 根据 memtable 大小,来判断是否触发异步持久化 memtable 操作
            * 如果是顺序文件且执行了刷盘动作,则更新tsfileResource中的endTimeMap
        * 根据当前磁盘 TsFile 的大小,判断是否触发文件关闭操作

Reply via email to