Tags: czbiohub-sf/iohub
Tags
feat(tensorstore): expose recheck_cached_data on TensorStoreConfig (#406 ) * feat(tensorstore): expose recheck_cached_data on TensorStoreConfig Add ``recheck_cached_data`` to ``TensorStoreConfig`` and forward it into ``ts.open`` in ``TensorStoreImplementation.open_array``. The option controls whether cached chunk data is revalidated on every read (the TensorStore driver default) or only at open time (``"open"``), which is the recommended setting for long-running read-heavy workloads on networked filesystems (NFS/VAST) where revalidation costs one stat/GETATTR per chunk per read. ``None`` (default) preserves existing behaviour by omitting the kwarg so the TensorStore driver keeps its own default. ``True``, ``False``, and ``"open"`` are forwarded verbatim. Covered by a parametrized test that monkey-patches ``_ts_open`` to assert the kwarg reaches TensorStore for each configured value and is absent when unset. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * delete redudant text --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
PreviousNext