You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "SunnySaman (via GitHub)" <gi...@apache.org> on 2023/11/17 07:43:23 UTC

[I] [Bug] iotdb 同步时不能自动创建时间序列 [iotdb]

SunnySaman opened a new issue, #11567:
URL: https://github.com/apache/iotdb/issues/11567

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
   
   
   ### Version
   
   V1.2.2
   
   ### Describe the bug and provide the minimal reproduce step
   
   10.166.50.30|31|33 是一个iotdb 集群;
   10.166.50.34|35|36 是一个iotdb 集群;
   
   我的目的是做30集群到33集群的数据同步;
   
   首先提供数据模型:
   1. 创建存储组、模板、挂载等:
   
   ```sql
   create storage group root.sg.ug;
   create schema template tug aligned (s1 text encoding=DICTIONARY,s2 text encoding=DICTIONARY);
   set schema template tug to root.sg.ug;
   ```
   
   ![image](https://github.com/apache/iotdb/assets/108415530/abd3a796-8ea4-4235-a48b-18aa43a6188e)
   
   
   
   2.  在30集群上插入数据:
   
   `insert into root.sg.ug.u_1(timestamp,s1,s2) aligned values(now(),'0001','0001');
   `
   
   ![微信图片_20231117153809](https://github.com/apache/iotdb/assets/108415530/d3e1a060-8eb3-4d8d-858b-767d148673ae)
   
   
   我的预期结果:30集群将数据同步到33集群上。
   但是实际结果却不是这样,33集群上没有任何关于这个序列的信息和数据:
   
   
   3. 提供一下创建的同步pipe状态:
   
   ![image](https://github.com/apache/iotdb/assets/108415530/afbf3d92-3bf2-4531-9dce-32213e77f853)
   
   
   
   ### What did you expect to see?
   
   1. 我期望时在A上写入的数据,可以自动同步到B上、当然在A上自动创建的序列也应该自动在B上创建。
   2. A和B是主备集群,所以理论上结构、数据应完全保持一致。
   
   ### What did you see instead?
   
   1. 我期望时在A上写入的数据,可以自动同步到B上、当然在A上自动创建的序列也应该自动在B上创建。
   
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: reviews-unsubscribe@iotdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] iotdb 同步时不能自动创建时间序列 [iotdb]

Posted by "SunnySaman (via GitHub)" <gi...@apache.org>.
SunnySaman commented on issue #11567:
URL: https://github.com/apache/iotdb/issues/11567#issuecomment-1840377188

   @qiaojialin  乔老师,有计划什么版本会支持对模版序列数据的自动同步 嘛?


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org