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.