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

Add testing to file manager WT connection configurations in test/format

    • Storage Engines
    • 5
    • Storage Engines - 2023-01-10, StorEng - 2023-01-24, StorEng - 2023-02-07, 2023-02-23 "Stoney Baloney"
    • v6.0, v5.0, v4.4

      Summary
      Currently the sweep server isn't being tested in test/format. The reason is because of the default values set for the file manager WT configuration.

          Config('file_manager', '', r'''
              control how file handles are managed''',
              type='category', subconfig=[
              Config('close_handle_minimum', '250', r'''
                  number of handles open before the file manager will look for handles to close''',
                  min=0),
              Config('close_idle_time', '30', r'''
                  amount of time in seconds a file handle needs to be idle before attempting to close
                  it. A setting of 0 means that idle handles are not closed''',
                  min=0, max=100000),
              Config('close_scan_interval', '10', r'''
                  interval in seconds at which to check for files that are inactive and close them''',
                  min=1, max=100000),
              ]),
      

      Test/format can only open up to 32 tables at once, thus making the sweep server not needing to do anything until 250 tables are open. Another interesting configuration to play around with is close_idle_time where the dhandle needs to be idle for 30 seconds before deciding to close it. Test/format will very rarely allow that to happen as it performs operations on all the tables quite consisently.

      Therefore the aim of this ticket is to allow this to be randomly configured by test/format such that we have interaction of sweep server. The developer will need to add mainly close_idle_time and close_handle_minimum connection configurations to be generated by test/format and check if there are any new WT fallouts.

            Assignee:
            sona.reddy@mongodb.com Sona Reddy (Inactive)
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: