Closed achubaty closed 2 months ago
If these directories are intended to be transient (and they are being cleaned up by something), then can we simply use a random string instead of the row-count?
(But why are they considered transient at all? Surely we are saving them so they can be inspected later?)
these are now written to outputPath(sim)
, which avoids the race condition, but if the module is replicated will create multiple similar objects on disk. generally, these should not be replicated.
While running concurrent replicates, I occasionally see the following error:
Since
useDiskFrame()
is simply using the number of rows incohortData
/speciesTable
when writing to disk, this may be leading to a race condition where one run tries to cleanup while the directory is still in use by another.@ianmseddy any thoughts on how to mitigate this?