iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

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

Open SunnySaman opened this issue 2 years ago • 1 comments

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集群的数据同步;

首先提供数据模型:

  1. 创建存储组、模板、挂载等:
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

  1. 在30集群上插入数据:

insert into root.sg.ug.u_1(timestamp,s1,s2) aligned values(now(),'0001','0001');

微信图片_20231117153809

我的预期结果:30集群将数据同步到33集群上。 但是实际结果却不是这样,33集群上没有任何关于这个序列的信息和数据:

  1. 提供一下创建的同步pipe状态:

image

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!

SunnySaman avatar Nov 17 '23 07:11 SunnySaman

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

SunnySaman avatar Dec 05 '23 09:12 SunnySaman