Allow shared operations to use different tables in Workgen

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Tammy Bailey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: