Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error condition for contentionFactor option #1437

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Jun 22, 2023

I'd consider this a small fix not worthy of a changelog entry but let me know if you disagree.

@jmikola jmikola requested a review from a team as a code owner June 22, 2023 01:06
@jmikola jmikola requested review from katcharov and removed request for a team June 22, 2023 01:06
@@ -1339,7 +1339,7 @@ NOTE: The Range algorithm is experimental only. It is not intended for public us
contentionFactor
^^^^^^^^^^^^^^^^
contentionFactor only applies when algorithm is "Indexed" or "RangePreview".
It is an error to set contentionFactor when algorithm is not "Indexed".
It is an error to set contentionFactor when algorithm is not "Indexed" or "RangePreview".
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other options were amended to say "or RangePreview", so I think it was just an oversight that contentionFactor was not. The prose test for range index certainly uses this option.

@jmikola jmikola merged commit 13b4e9b into master Jun 22, 2023
@jmikola jmikola deleted the jmikola-patch-2 branch June 22, 2023 14:56
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.

2 participants