[Bug] iotdb 同步时不能自动创建时间序列
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 115
描述
### 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;
```

2. 在30集群上插入数据:
`insert into root.sg.ug.u_1(timestamp,s1,s2) aligned values(now(),'0001','0001');
`

我的预期结果:30集群将数据同步到33集群上。
但是实际结果却不是这样,33集群上没有任何关于这个序列的信息和数据:
3. 提供一下创建的同步pipe状态:

### 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!
贡献指南
调研方向
首先,使用 issue 中描述的两个 IoTDB 集群、schema template、aligned insert 和 synchronization pipe 重现所报告的设置。检查目标端是否收到自动创建的时间序列和数据;当源端的 schema 和写入按预期同步到目标端时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, sql
- 领域
- databases, distributed-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100