Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use read-ahead cache in array/group directory. #5452

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

teo-tsirpanis
Copy link
Member

@teo-tsirpanis teo-tsirpanis commented Feb 13, 2025

SC-62900

In all cases where we read files from the VFS there, we get the file's size beforehand and read the entirety of it. This makes the read-ahead cache not actually required.

Fixes failures when reading empty .vac files (in S3 we do a GetObject with a range of 0-102399, which fails with a range not satisfiable error).


TYPE: BUG
DESC: Fix failures when opening an array or group with an empty .vac file.

In all cases where we read files from the VFS there, we get the file's size beforehand and read the entirety of it. This makes the read-ahead cache not actually required.
Fixes failures when reading empty `.vac` files.
@teo-tsirpanis teo-tsirpanis requested a review from ypatia February 13, 2025 12:48
@teo-tsirpanis teo-tsirpanis merged commit ab6c52e into main Feb 13, 2025
61 checks passed
@teo-tsirpanis teo-tsirpanis deleted the teo/skip-read-ahead branch February 13, 2025 16:12
ihnorton pushed a commit that referenced this pull request Feb 18, 2025
[SC-62900](https://app.shortcut.com/tiledb-inc/story/62900)

In all cases where we read files from the VFS there, we get the file's
size beforehand and read the entirety of it. This makes the read-ahead
cache not actually required.

Fixes failures when reading empty `.vac` files (in S3 we do a
`GetObject` with a range of `0-102399`, which fails with a range not
satisfiable error).

---
TYPE: BUG
DESC: Fix failures when opening an array or group with an empty `.vac`
file.

(cherry picked from commit ab6c52e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants