From a6a8c2142a2dc5681060dd19c994a186855ea831 Mon Sep 17 00:00:00 2001 From: jawabuu <49921621+jawabuu@users.noreply.github.com> Date: Sat, 19 Oct 2019 11:31:15 +0300 Subject: [PATCH] Update instructions in README to reflect new workflow Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com> --- examples/compose/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/compose/README.md b/examples/compose/README.md index b9cac07c7c..b0159f4363 100644 --- a/examples/compose/README.md +++ b/examples/compose/README.md @@ -115,7 +115,11 @@ vitess/examples/compose$ ./lvtctl.sh Help - vtgate web ui: http://localhost:15099/debug/status - +- Stream querylog + `curl -S localhost:15099/debug/querylog` + +**Note that you may need to replace `localhost` with `docker ip` or `docker-machine ip`** + ## Troubleshooting If the cluster gets in a bad state, you most likely will have to stop and kill the containers. Note: you will lose all the data. ``` @@ -220,7 +224,7 @@ vitess/examples/compose$ ./lvtctl.sh To run against a specific compose service/container, use the environment variable **$CS** ``` -vitess/examples/compose$ (export CS=vttablet2; ./lvtctl.sh ) +vitess/examples/compose$ (export CS=vttablet101; ./lvtctl.sh ) ``` ## Common Errors @@ -235,7 +239,7 @@ exit status 1 ``` To resolve use the [SetReadWrite](../../doc/Troubleshooting.md#master-starts-up-read-only) command on master. ```sh -vitess/examples/compose$ ./lvtctl.sh SetReadWrite test-1 +vitess/examples/compose$ ./lvtctl.sh SetReadWrite test-101 ```