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

Implement dynamic table drop functionality in workgen

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • 5
    • Storage Engines - 2022-12-12, Storage Engines - 2023-01-10

      In Workgen, there is one function that drops tables: start_table_idle_cycle. This one has a very specific and isolated use case though, it creates a table, opens a cursor and directly drops the table.

      As part of PM-2712, one of the requirements is to be able to drop a table at any time.

      This ticket needs to update Workgen so an existing table can be dropped safely while updating the internal variables in Workgen (see WT-10238). This could be done through a simple API called remove_table. The Python interface should be updated as well.

      The locking mechanism mentioned in WT-10238 should be reused if this ticket is implemented after.

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: