Skip to content

Commit

Permalink
cli: add startup text on cockroach demo --global
Browse files Browse the repository at this point in the history
Release note (cli change): There will now be a message upon start-up on
cockroach demo --global indicating latencies between nodes will simulate
real world latencies.
  • Loading branch information
otan committed Apr 27, 2021
1 parent 8165fad commit a9ace7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cli/demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ func runDemo(cmd *cobra.Command, gen workload.Generator) (err error) {

if demoCtx.simulateLatency {
printfUnlessEmbedded(
"#\n# WARNING: the use of --%s is experimental. Some features may not work as expected.\n",
`# Communication between nodes will simulate real world latencies.
#
# WARNING: the use of --%s is experimental. Some features may not work as expected.
`,
cliflags.Global.Name,
)
}
Expand Down

0 comments on commit a9ace7f

Please sign in to comment.