AnsweredAssumed Answered

Canvas Data CLI appears to hang during sync

Question asked by Lee Fent on Aug 22, 2019

Does anyone else run into hangs when using the Canvas Data CLI tool, specifically the sync command? 


I have a wrapper script that automates sync and unpack for us and the sync command seems to get into a hung state pretty frequently (estimate about 1-2 times a week).  If I'm watching the sync command as it's working, the tmp files just stop incrementing their sizes and the sync never seems to 'finish' and cleanup the tmp file.  It seems like maybe node is missing a signal or there is a hiccup that's not getting noticed in the file streaming.  If I kill it and run a sync it usually finishes up without further problem.  


I've tried stepping down the number of connections to see if that helped but that hasn't made an improvement.