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

stress fail: when data_block_hash_table_util_ratio is 0 #214

Closed
Yuval-Ariel opened this issue Nov 6, 2022 · 0 comments · Fixed by #215
Closed

stress fail: when data_block_hash_table_util_ratio is 0 #214

Yuval-Ariel opened this issue Nov 6, 2022 · 0 comments · Fixed by #215
Assignees

Comments

@Yuval-Ariel
Copy link
Contributor

Describe the bug
open error: Invalid argument: data_block_hash_table_util_ratio should be greater than 0 when data_block_index_type is set to kDataBlockBinaryAndHash

the python script that produces the cmd (tools/db_crashtest.py) for the stress tool can generate value 0 for data_block_hash_table_util_ratio when data_block_index_type is set to kDataBlockBinaryAndHash which is wrong.

fix by limiting range of data_block_hash_table_util_ratio from 0.01 to 1. (instead of 0 to 1)

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 a pull request may close this issue.

1 participant