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 2021/08/10 03:28:00 UTC

[jira] [Created] (IOTDB-1557) rel/0.12 : [Sync] mlog.bin sync failed

刘珍 created IOTDB-1557:
-------------------------

             Summary: rel/0.12 : [Sync]  mlog.bin  sync failed
                 Key: IOTDB-1557
                 URL: https://issues.apache.org/jira/browse/IOTDB-1557
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Sync
    Affects Versions: 0.12.2-SNAPSHOT
            Reporter: 刘珍
         Attachments: config.properties, image-2021-08-10-11-22-00-216.png

IoTDB :
    rel/0.12 0809  75077fbfa62307e9cc0acdcd213d7b3c66f8ff27

sender & receiver  conf/iotdb-env.sh :
    MAX_HEAP_SIZE="20G"
    MAX_DIRECT_MEMORY_SIZE=4G

1. benchmark generates data for sync
     benchmark  configuration file  :  See the attachment .

2. Start the receiver service
    a.  conf/iotdb-engine.properties 
         is_sync_enable=true
     b. Start the receiver service

3. Start the sender sync service
     a.  conf/iotdb-sync-client.properties 
         server_ip=x.x.x.x
         sync_period_in_second=60

      b. ./tools/start-sync-client.sh
   
 4. sender : log_sync.log
      !image-2021-08-10-11-22-00-216.png|thumbnail! 
      2021-08-10 09:39:01,856 [pool-1-IoTDB-sync-client-timer-1] ERROR o.a.i.d.s.s.t.SyncClient:433 - {color:#DE350B}Digest check of schema file {color}/home/iotdb/liuzhen_test/rel_12/db_0806/data/system/schema/{color:#DE350B}mlog.bin failed{color}, retry
2021-08-10 09:39:01,863 [pool-1-IoTDB-sync-client-timer-1] ERROR o.a.i.d.s.s.t.SyncClient:224 - Sync failed
org.apache.iotdb.db.exception.SyncConnectionException: Can not sync schema after 5 retries.
        at org.apache.iotdb.db.sync.sender.transfer.SyncClient.syncSchema(SyncClient.java:380)
        at org.apache.iotdb.db.sync.sender.transfer.SyncClient.syncAll(SyncClient.java:247)
        at org.apache.iotdb.db.sync.sender.transfer.SyncClient.lambda$startTimedTask$2(SyncClient.java:222)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
  





--
This message was sent by Atlassian Jira
(v8.3.4#803005)