ratt-ru / dask-ms

Implementation of a dask/xarray dataset backed by a CASA MS
https://dask-ms.readthedocs.io
Other
19 stars 7 forks source link

Change setmaxcachesize to require a read lock, not a write lock #281

Closed sjperkins closed 1 year ago

sjperkins commented 1 year ago

Closes #280

Previously, setmaxcachesize was called with a write lock, but this was problematic for readonly tables as setmaxcachesize was called during read ops.

As setmaxcachesize only modifies the internal casacore column caching, this can safely be made a read operation.

sjperkins commented 1 year ago

@landmanbester Do you want to give this branch a try?

landmanbester commented 1 year ago

Thanks @sjperkins. I've kicked it off, so far so good

landmanbester commented 1 year ago

It ran through successfully so I think we are all good. Thanks