Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5990

Pipe unexpectedly stop when an aligned device is piped

    XMLWordPrintableJSON

Details

    Description

      接收端未创建device,用pipe同步aligned device会导致pipe自动停止

      日志见附件

      复现步骤:

      insert into root.sg1.d1(time, at1) aligned values (now(), 1);

      create pipe p1 with collector ('collector.pattern'='root.sg1.d1') with connector ('connector'='iotdb_thrift_connector','connector.ip'='127.0.0.1','connector.port'='6668');

      start pipe p1;

      create pipe p2 with connector ('connector'='iotdb_thrift_connector','connector.ip'='127.0.0.1','connector.port'='6668');

      start pipe p2;

      insert into root.sg1.d2(time, at1) aligned values (now(), 2);

      show pipes;

      // 接收端查不到d2这个device,不断show pipes,会发现两个pipe均变成STOPPED。此后手动start两个pipe,也不同步d1的实时数据了

      Attachments

        1. image-2023-06-12-18-43-59-399.png
          94 kB
          马子坤
        2. image-2023-06-12-18-48-15-389.png
          12 kB
          马子坤
        3. receiver_logs.zip
          121 kB
          马子坤
        4. sender_logs.zip
          143 kB
          马子坤

        Activity

          People

            Unassigned Unassigned
            mzk 马子坤
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: