-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure that 'block_size' parameter is properly propagated in the…
… ObjectStore (#3403) Previously, setting a block_size parameter did not change the range coalescing being done in FileScheduler's [submit_request ](https://github.com/lancedb/lance/blob/main/rust/lance-io/src/scheduler.rs#L717) function. This was because the FileScheduler was using the block_size parameter in the underlying ObjectStore, but that parameter was not being properly propagated in the configure_store method. This change keeps the same defaults but always uses the parameter value if it is set. Verified via unit tests and profiling to determine increasing block size now does actually decrease the number of get_range queries.
- Loading branch information
Showing
3 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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