-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Tools
-
Storage Engines, Storage Engines - Persistence
-
None
-
None
-
v8.2, v8.0, v7.0
wt utility replaces the passed command config if we pass -m.
In the util_main.c we use the same cmd_config variable to store the input of -C and -m options, this leads to overwrite the option value with the last parsed one.
case 'C': /* wiredtiger_open config */
cmd_config = __wt_optarg;
break;
case 'm': /* verify metadata on connection open */
cmd_config = "verify_metadata=true";
meta_verify = true;
break;
haribabu.kommi@mongodb.com's suggestion: fix the metadata option -m to use metadata_config instead of cmd_config and adjust the code necessarily.