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

Extend the configurations supported by the framework

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage - Ra 2021-03-22

      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.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            deepti.hasija@mongodb.com Deepti Hasija (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: