You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Leading-slash object keys cause cache lock files to be created outside the configured cache directory #210
When reading a prepared WebDataset through Energon, object keys can begin with /. With disk caching enabled, MSC constructs the cache lock path for these keys outside the configured cache directory.
This can cause permission errors and prevent the dataloader from reading the dataset.
Versions
Multi-Storage Client 1.2.0
Megatron-Energon 7.4.1
Steps to reproduce
Configure an MSC profile pointing to S3-compatible object storage.
Enable disk caching with a writable local cache directory.
Read a prepared WebDataset through Energon using an msc:// path.
When Energon passes a leading-slash object key, observe where MSC attempts to create its cache lock.
Expected behavior
Cache lock files remain inside the configured cache directory, including for object keys beginning with /.
Actual behavior
The leading slash causes the lock path to resolve outside the configured cache directory.
Activity