forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
133031: drtprod: control tpcc execution r=shailendra-patel a=nameisbhaskar 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 Co-authored-by: Bhaskarjyoti Bora <[email protected]>
- Loading branch information
Showing
5 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters