Implement dynamic table drop functionality in workgen

XMLWordPrintableJSON

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

      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
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: