-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli,democluster: defer simulated latency until after cluster setup
Cluster creation and tenant setup is chatty. That's an okay thing: we don't really care about cluster creation being that slow in general. In the case of demo when we want to simulate latency and use tenants, it was particularly painful. Starting the 9 tenants would take many minutes. This patch alleviates this problem by keeping latency between the simulated nodes low until just before we pass control to the user. Fixes #76305 Release note (cli change): `cockroach demo --global` will now start up more quickly. The latency which will be injected is not injected until after the initial cluster is set up internally.
- Loading branch information
Showing
4 changed files
with
40 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