-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop reading latest manifest (#1365)
As a quick fix to address safety/consistency issues, we will find the latest manifest by scanning the `_versions` directory. We continue to write the `_latest.manifest` file, so older readers are still compatible. Performance considerations: in object stores like S3, we can get 1,000 objects listed with 1 request. So right now this adds 1 IO for those tables. Tables with more versions should probably have `cleanup_old_versions` applied. Fixes: #1356 We will optimize this in follow ups, as described in #1362
- Loading branch information
Showing
3 changed files
with
63 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters