You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘爽 (Jira)" <ji...@apache.org> on 2022/07/20 09:48:00 UTC

[jira] [Created] (IOTDB-3906) IoTDB primary and standby versions template data out of sync

刘爽 created IOTDB-3906:
-------------------------

             Summary: 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: 刘爽
         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)