apache / apache/iotdb

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

Aperta
#11,567 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.4k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
115

Descrizione

### 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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo la configurazione descritta nell’issue con i due cluster IoTDB, lo schema template, l’aligned insert e la synchronization pipe. Verifica se la destinazione riceve le serie temporali e i dati creati automaticamente; il lavoro è concluso quando lo schema e le scritture dell’origine vengono sincronizzati con la destinazione come previsto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, sql
Ambito
databases, distributed-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.