Ensure any new functionality is designed for extensibility.
This work should include the following new features:
- Be able to accept configuration options read from a file:
- Add a new arg -f followed by the filename of the configuration to parse
- See below for the file format
- Enable or disable logging.
- add enable_logging to the test configuration
- log=(enabled=true/false) needs to be inserted in the database configuration when wiredtiger_open is called
The configurations provided in a text file will have the following format:
collection_count=2 key_count=5 value_size=10 read_threads=1 duration_seconds=10 cache_size_mb=1000 stat_cache_size= START_SUBCONFIG enabled=true limit=100 END_SUBCONFIG rate_per_second=10 enable_tracking=true enable_timestamp=true oldest_lag=1 stable_lag=1 min_operation_per_transaction=1 max_operation_per_transaction=1
Indentation is there for readability but is not mandatory. It is possible to have n levels of subconfigs.