Closed bennahugo closed 5 years ago
This is still with the stable 0.2.0 branch
This is probably a bit more of a xarray-ms bug
I think you may have different threads of the same field attempting to write simultaneously because the scans are short
Alternative is to put it in a queue and have xarrayms have a single io thread?
Alternative is to put it in a queue and have xarrayms have a single io thread?
Totally the way to go, at least for the writing....
@bennahugo Did the fix in https://github.com/ska-sa/xarray-ms/pull/31 succeed?
Think the current locking system does not work properly with multiple scans running in parallel. It looks like there is a race on the lock acquisition:
The fix should be simple - ensure only one process can acquire the lock from casacore? @sjperkins