Skip to content

Configuration validation while opening a DB #385

@bosmatt

Description

@bosmatt

Is your feature request related to a problem? Please describe.
Rocksdb has too many options which some of the combinations are not working properly together and/or not tested.
The idea is to inform the user when the defined configuration is not according to the predefined valid configs.

Describe the solution you'd like
Import the dependencies checks that exist in the db_crash and db_stress python scripts to the C++ code. Whenever a db is getting opened, run configuration validation to make sure it runs with a valid config.
Warn the user when it does't, adding details about the conflict.

Metadata

Metadata

Assignees

Labels

FutureA feature request that we are interested in working on but haven't started yetWorking on itA feature request that is being actively worked onenhancementNew feature or request

Type

No type

Projects

Status

🏗️ Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions