node-clinic
node-clinic copied to clipboard
bubbleprof links the trace instead of moving it
This is from running in a Docker container with -v /tmp:/tmp
and running clinic --collect-only --dest /tmp
:
@jasnell - I saw some issues reported on Docker, does this relate to anything you reported? Maybe #74
we could use something like the move-file module instead of fs.rename, it should avoid the cross-device issue.
Seems like some sort of race condition? Later that same day I didn't have a problem with it working. 🤷♂
Using fs.rename()
with docker containers is notoriously tricky and flaky. Using a file copy may be more reliable.