WIN10平臺,dolphinDB版本DolphinDB Systems 1.30.2 64 bit JITnode
問題現象:重啓dolphinDB服務後,一直沒法啓動datanode,查看datanode日誌,重複出現如圖所示內容,
同時CMD窗口事後也出現錯誤提示git
臨時經過刪除全部類型的日誌後,服務能夠重啓。不過dolphinDB工程師分析後發現是配置不配套的緣由致使。spa
關於redo log功能的相關參數設置包括:
cluster中chunkCacheEgineMemSize
和controller中的dataSync,筆者初學dolphin,受相關文檔影響致使配置錯誤,包括教程https://gitee.com/dolphindb/T...
和cluster中的相關內容「# If dataSync=1, DolphinDB generates redo log when the database is being updated. It can avoid data loss in the event of a system crash or power outage.「
正確的配置是:在controller中配置dataSync=1,同時配套在cluster中設置合理的chunkCacheEgineMemSize。
cluster中的參數dataSync實際不會生效。日誌
dolphinDB的技術人員表示後續版本包括文檔會修正。教程