iotdb
iotdb copied to clipboard
[Bug] iotdb 同步时不能自动创建时间序列
Search before asking
- [X] I searched in the 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集群的数据同步;
首先提供数据模型:
- 创建存储组、模板、挂载等:
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;
- 在30集群上插入数据:
insert into root.sg.ug.u_1(timestamp,s1,s2) aligned values(now(),'0001','0001');
我的预期结果:30集群将数据同步到33集群上。 但是实际结果却不是这样,33集群上没有任何关于这个序列的信息和数据:
- 提供一下创建的同步pipe状态:
What did you expect to see?
- 我期望时在A上写入的数据,可以自动同步到B上、当然在A上自动创建的序列也应该自动在B上创建。
- A和B是主备集群,所以理论上结构、数据应完全保持一致。
What did you see instead?
- 我期望时在A上写入的数据,可以自动同步到B上、当然在A上自动创建的序列也应该自动在B上创建。
Anything else?
No response
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
@qiaojialin 乔老师,有计划什么版本会支持对模版序列数据的自动同步 嘛?