Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
catalog: change hash-sharded indexes to use md5
Release note (sql change): The hash function used by hash-sharded indexes was changed to `mod(fnv32(md5(crdb_internal.datums_to_bytes(columns))), bucket_count)`. (Previously, it did not use `md5`.) This change was made to enhance the uniformity of bucket distribution in cases when the bucket count is a power of 2, and the columns being sharded have numerical properties that make the fnv32 function return values with a non-uniformly distributed modulus.
- Loading branch information
Showing
16 changed files
with
297 additions
and
287 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
Oops, something went wrong.