Skip to content

stress fail: when data_block_hash_table_util_ratio is 0 #214

Closed

Description

@Yuval-Ariel

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions