[
https://issues.apache.org/jira/browse/IOTDB-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haonan Hou reassigned IOTDB-3906:
---------------------------------
Assignee: Yongzao Dan
> IoTDB primary and standby versions template data out of sync
> ------------------------------------------------------------
>
> Key: IOTDB-3906
> URL: https://issues.apache.org/jira/browse/IOTDB-3906
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: 刘爽
> Assignee: Yongzao Dan
> Priority: Critical
> Attachments: image-2022-07-20-17-41-09-813.png,
> image-2022-07-20-17-41-33-276.png
>
>
> use SDK sessionPool method create template,Only one instance(IoTDB-A) has data
> {code:java}
> //代码占位符
> code:
> Template template = new Template(templateName);
> for (int i = 0; i < 100; i++) {
> TemplateNode templateNode = new MeasurementNode("s" + i, TSDataType.INT64,
> TSEncoding.PLAIN, CompressionType.SNAPPY);
> template.addToTemplate(templateNode);
> }
> sessionPool.createSchemaTemplate(template); {code}
> !image-2022-07-20-17-41-09-813.png!
> !image-2022-07-20-17-41-33-276.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)