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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.2.0, 5.0.5
    • None
    • None
    • 5
    • Storage - Ra 2021-11-01

    Description

      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.

      Attachments

        Activity

          People

            etienne.petrel@mongodb.com Etienne Petrel
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: