[
https://issues.apache.org/jira/browse/IOTDB-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
FengQingxin reassigned IOTDB-1557:
----------------------------------
Assignee: yanze chen
> 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: Tools/Sync
> Affects Versions: 0.12.2-SNAPSHOT
> Reporter: 刘珍
> Assignee: yanze chen
> Priority: Major
> 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)
>
> 5. Receiver
> ls -l
> data/sync-receiver/{color:#DE350B}${IP}{color}_8dc74f41c64e4b699aed10b626b527e6/data/mlog.bin
> 这个文件每次sync会重新同步。
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)