cockroach
cockroach copied to clipboard
drtprod: control tpcc execution
In the tpcc init script, there is no option to control whether the script should be executed in the workload node immediately after creation or not. Today it just executes it as a background process immediately after creation.
This control is needed because we will need to create multiple tpcc databases with different names and not all scripts should be executed immediately.
So, this PR has a control that allows you to decide whether the script should be executed immediately or not after creation. Also, as we need to create multiple scripts in the same workload node, this PR has a change to put a suffix to the script name.
Epic: None Release note: None
Thanks @shailendra-patel for reviewing this.
bors r=@shailendra-patel