Keep non persistent configuration settings between wiredtiger_open calls in test/format

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.1, 5.2.0, 5.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-11-01
    • 5

      While implementing the failpoint code in WT-8032, I add a temporary fix to test format that would pass the timing stress configuration options into the second call it does to wiredtiger_open this is required as the open config generation is performed in create_database and not wts_open.

      As such any configuration that isn't persisted in the databases base_config file would be lost between open calls. This included the timing stress configuration.

      The work in this ticket is to:

      • Create a common function for generating open config.
      • Call it from all points where test format opens a database connection.
      • Remove the code added in WT-8032 in place of the new functionality.

            Assignee:
            Etienne Petrel
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: