Commit ab6c52e
authored
Do not use read-ahead cache in array/group directory. (#5452)
[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.1 parent ff2cf06 commit ab6c52e
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| |||
1082 | 1082 | | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | | - | |
| 1085 | + | |
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
0 commit comments