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

Allow shared operations to use different tables in Workgen

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • 2023-04-04 Bibbidi-Bobbidi-Boo

      In workgen, an operation can be used by one or more threads, for example

      op1 = Operation(Operation.OP_INSERT, Key(Key.KEYGEN_APPEND, 10), Value(40))
      op2 = Operation(Operation.OP_UPDATE, Key(Key.KEYGEN_APPEND, 10), Value(40))
      thread1 = Thread(10*op1)
      thread2 = Thread(op1 + op2)
      

      When using dynamic tables, a table is assigned at random to each operation. The table name and ID can be saved in the Operation structure. This leads to a race condition when multiple threads are running the same operation simultaneously.

      This ticket is to add functionality to workgen so that different tables can be assigned to a single operation that is shared among threads.

            Assignee:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: