-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24880: storageccl: pull in fix for reading GCS files r=mjibson a=mjibson The linked issue lists a commit attempting to fix occasional problems we see during large GCS reads. They haven't been able to repro it but think this will fix it. Pull in that update so we can run it for a few months for testing. See: googleapis/google-cloud-go#784 Release note: None 24896: engine: find split keys in the first range of a partition r=tschottdorf,a-robinson,bdarnell,danhhz a=benesch This deserves a roachtest—roachmart should make sure it has the correct number of ranges after inserting data—but I wanted to get this out for review ASAP. --- MVCCFindSplitKey would previously fail to find any split keys in the first range of a partition. As a result, partitioned tables have been observed with multi-gigabyte ranges. This commit fixes the bug. Specifically, MVCCFindSplitKey was assuming that the start key of a range within a table was also the row prefix for the first row of data in the range. This does not hold true for the first range of a table or a partition of a table--that range begins at, for example, /Table/51, while the row begins at /Table/51/1/aardvark. The old code had a special case for the first range in a table, but not for the first range in a partition. (It predates partitioning.) Remove the need for special casing by actually looking in RocksDB to determine the row prefix for the first row of data rather than attempting to derive it from the range start key. This properly handles partitioning and is robust against future changes to range split boundaries. See the commit within for more details on the approach. Release note (bug fix): Ranges in partitioned tables now properly split to respect their configured maximum size. Co-authored-by: Matt Jibson <[email protected]> Co-authored-by: Nikhil Benesch <[email protected]>
- Loading branch information
Showing
5 changed files
with
154 additions
and
56 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
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
Submodule vendor
updated
97 files