Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7425

Fix for the -C command line option

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage - Ra 2021-05-17

      The configuration is always retrieved from the default configuration file even though a custom configuration is given with the -C option.

      Reproducer:

      workload_tracking is disabled in this configuration.

      ./run -l 1 -t example_test -C "duration_seconds=10,cache_size_mb=1000,enable_logging=true,runtime_monitor=(rate_per_second=3,stat_cache_size=(enabled=true,limit=100)),timestamp_manager=(enabled=true,oldest_lag=1,stable_lag=1),workload_generator=(collection_count=2,key_count=5,key_size=1,ops_per_transaction=(min=5,max=50),read_threads=1,update_threads=1,value_size=10),workload_tracking=(enabled=false)" 

      Output:

      workload_tracking still appears as being enabled

      Trace level	:1
      Configuration	:duration_seconds=10,cache_size_mb=1000,enable_logging=true,runtime_monitor=(rate_per_second=3,stat_cache_size=(enabled=true,limit=100)),timestamp_manager=(enabled=true,oldest_lag=1,stable_lag=1),workload_generator=(collection_count=2,key_count=5,key_size=1,ops_per_transaction=(min=5,max=50),read_threads=1,update_threads=1,value_size=10),workload_tracking=(enabled=true) 

      See attached diff file for suggested solution.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: