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

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

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

      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.

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