yschengzi opened a new pull request, #11839:
URL: https://github.com/apache/iotdb/pull/11839

   Problems:
   The Load TsFile process uses a two-phase transaction commit to ensure 
consistency. Currently, during the second stage of the validation process, 
commands are sent directly to each DataNode through the Thrift framework, which 
does not ensure that the loaded TsFile is organized within the DataRegionGroup. 
This does not ensure that the loaded TsFiles are organized within the 
DataRegionGroup, nor can they be correctly identified as progress by the Pipe 
system.
   
   Solution:
   Phase 2 instructions will be wrapped into a consensus layer request and 
routed through the consensus layer to the target DataRegion to execute the 
instructions.
   
   问题:
   Load TsFile 过程中使用了两阶段事务提交的方式保证一致性。目前在第二阶段确认的过程中直接通过 Thrift 框架发送指令到各个 
DataNode 上,这无法保证加载的 TsFile 在 DataRegionGroup 内的有序性。也无法被 Pipe 系统正确地标识成进度
   
   解决方案:
   会将第二阶段指令包装成共识层请求,通过共识层路由至目标 DataRegion 再执行指令


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to