Skip to content

Put Distributor hash algorithm back the way it was before 922a3b989a#1343

Merged
bboreham merged 2 commits intomasterfrom
revert-hash-change
Apr 23, 2019
Merged

Put Distributor hash algorithm back the way it was before 922a3b989a#1343
bboreham merged 2 commits intomasterfrom
revert-hash-change

Conversation

@bboreham
Copy link
Contributor

@bboreham bboreham commented Apr 23, 2019

#1306 moved the hash implementation, but at the same time flipped it from FNV-1 to FNV-1a.
Put it back the way it was before, and add some comments noting the difference.

Note: without this, the effect is to re-shard all series to a different ingester, causing a spike in active series and (in shard-by-metric-name mode) breaking queries.

Signed-off-by: Bryan Boreham <bryan@weave.works>
@gouthamve
Copy link
Contributor

LGTM 👍

Signed-off-by: Bryan Boreham <bryan@weave.works>
@bboreham bboreham force-pushed the revert-hash-change branch from 069c60f to 6c0451a Compare April 23, 2019 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants