diff --git a/content/en/docs/18.0/get-started/local-brew.md b/content/en/docs/18.0/get-started/local-brew.md index 659357615..7b55955fd 100644 --- a/content/en/docs/18.0/get-started/local-brew.md +++ b/content/en/docs/18.0/get-started/local-brew.md @@ -60,41 +60,42 @@ Created cell: zone1 etcd start done... Starting vtctld... vtctld is running! +Successfully created keyspace commerce. Result: +{ + "name": "commerce", + "keyspace": { + "served_froms": [], + "keyspace_type": 0, + "base_keyspace": "", + "snapshot_time": null, + "durability_policy": "semi_sync", + "throttler_config": null, + "sidecar_db_name": "_vt" + } +} Starting MySQL for tablet zone1-0000000100... Starting vttablet for zone1-0000000100... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:50 GMT +Date: Mon, 26 Jun 2023 19:21:51 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000101... Starting vttablet for zone1-0000000101... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:55 GMT +Date: Mon, 26 Jun 2023 19:21:54 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000102... Starting vttablet for zone1-0000000102... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:50:00 GMT +Date: Mon, 26 Jun 2023 19:21:56 GMT Content-Type: text/html; charset=utf-8 -{ - "keyspace": { - "served_froms": [], - "keyspace_type": 0, - "base_keyspace": "", - "snapshot_time": null, - "durability_policy": "semi_sync", - "throttler_config": null, - "sidecar_db_name": "_vt" - } -} vtorc is running! - UI: http://localhost:16000 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtorc.out - - PID: 74088 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtorc.out + - PID: 49556 -zone1-0000000100 commerce 0 primary localhost:15100 localhost:17100 [] 2022-09-23T05:48:52Z New VSchema object: { @@ -107,7 +108,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "customer": { "type": "", @@ -115,7 +117,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "product": { "type": "", @@ -123,7 +126,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" } }, "require_explicit_routing": false @@ -131,60 +135,16 @@ New VSchema object: If this is not what you expected, check the input data (as JSON parsing will skip unexpected fields). Waiting for vtgate to be up... vtgate is up! -Access vtgate at http://Manans-MacBook-Pro.local:15001/debug/status +Access vtgate at http://Florents-MacBook-Pro-2.local:15001/debug/status vtadmin-api is running! - - API: http://localhost:14200 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-api.out - - PID: 74039 - -Installing nvm... - -nvm is already installed! - -Configuring Node.js 18.16.0 - -v18.16.0 is already installed. -Now using node v18.16.0 (npm v9.5.1) - -> vtadmin@0.1.0 build -> vite build - -vite v4.2.1 building for production... -transforming (1218) src/icons/alertFail.svgUse of eval in "node_modules/@protobufjs/inquire/index.js" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 1231 modules transformed. -build/assets/chevronUp-3d6782a5.svg 0.18 kB -build/assets/chevronDown-02f94e73.svg 0.19 kB -build/assets/download-8ef290b4.svg 0.21 kB -build/assets/delete-a9184ef9.svg 0.23 kB -build/assets/info-2617ee9d.svg 0.34 kB -build/assets/circleAdd-cfd7e5db.svg 0.35 kB -build/assets/alertFail-8056b6e4.svg 0.35 kB -build/assets/checkSuccess-f8fd1dbb.svg 0.36 kB -build/assets/search-3261bac7.svg 0.41 kB -build/assets/question-a67b2492.svg 0.46 kB -build/assets/runQuery-edfab4ed.svg 0.49 kB -build/assets/open-405dd348.svg 0.49 kB -build/index.html 0.90 kB -build/assets/bug-5b6edb54.svg 0.99 kB -build/assets/topology-0032b65e.svg 1.62 kB -build/assets/NotoMono-Regular-41fd7ccc.ttf 107.85 kB -build/assets/NotoSans-Regular-c8cff31f.ttf 313.14 kB -build/assets/NotoSans-SemiBold-43207822.ttf 313.72 kB -build/assets/NotoSans-Bold-c6a598dd.ttf 313.79 kB -build/assets/index-ef40fbc9.css 87.78 kB │ gzip: 15.02 kB -build/assets/index-4ddb52ed.js 2,811.88 kB │ gzip: 492.59 kB - -(!) Some chunks are larger than 500 kBs after minification. Consider: -- Using dynamic import() to code-split the application -- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks -- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. -✓ built in 10.85s + - API: http://Florents-MacBook-Pro-2.local:14200 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-api.out + - PID: 49695 vtadmin-web is running! - - Browser: http://localhost:14201 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-web.out - - PID: 74070 - + - Browser: http://Florents-MacBook-Pro-2.local:14201 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-web.out + - PID: 49698 ``` Verify your initial cluster: ```sql diff --git a/content/en/docs/18.0/get-started/local-mac.md b/content/en/docs/18.0/get-started/local-mac.md index 5d3ca0ee4..da8ba7193 100644 --- a/content/en/docs/18.0/get-started/local-mac.md +++ b/content/en/docs/18.0/get-started/local-mac.md @@ -126,41 +126,42 @@ Created cell: zone1 etcd start done... Starting vtctld... vtctld is running! +Successfully created keyspace commerce. Result: +{ + "name": "commerce", + "keyspace": { + "served_froms": [], + "keyspace_type": 0, + "base_keyspace": "", + "snapshot_time": null, + "durability_policy": "semi_sync", + "throttler_config": null, + "sidecar_db_name": "_vt" + } +} Starting MySQL for tablet zone1-0000000100... Starting vttablet for zone1-0000000100... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:50 GMT +Date: Mon, 26 Jun 2023 19:21:51 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000101... Starting vttablet for zone1-0000000101... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:55 GMT +Date: Mon, 26 Jun 2023 19:21:54 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000102... Starting vttablet for zone1-0000000102... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:50:00 GMT +Date: Mon, 26 Jun 2023 19:21:56 GMT Content-Type: text/html; charset=utf-8 -{ - "keyspace": { - "served_froms": [], - "keyspace_type": 0, - "base_keyspace": "", - "snapshot_time": null, - "durability_policy": "semi_sync", - "throttler_config": null, - "sidecar_db_name": "_vt" - } -} vtorc is running! - UI: http://localhost:16000 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtorc.out - - PID: 74088 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtorc.out + - PID: 49556 -zone1-0000000100 commerce 0 primary localhost:15100 localhost:17100 [] 2022-09-23T05:48:52Z New VSchema object: { @@ -173,7 +174,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "customer": { "type": "", @@ -181,7 +183,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "product": { "type": "", @@ -189,7 +192,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" } }, "require_explicit_routing": false @@ -197,61 +201,16 @@ New VSchema object: If this is not what you expected, check the input data (as JSON parsing will skip unexpected fields). Waiting for vtgate to be up... vtgate is up! -Access vtgate at http://Manans-MacBook-Pro.local:15001/debug/status +Access vtgate at http://Florents-MacBook-Pro-2.local:15001/debug/status vtadmin-api is running! - - API: http://localhost:14200 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-api.out - - PID: 74039 - -Installing nvm... - -nvm is already installed! - -Configuring Node.js 18.16.0 - -Downloading and installing node v18.16.0... -Local cache found: ${NVM_DIR}/.cache/bin/node-v18.16.0-darwin-x64/node-v18.16.0-darwin-x64.tar.xz -Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v18.16.0-darwin-x64/node-v18.16.0-darwin-x64.tar.xz -Now using node v18.16.0 (npm v9.5.1) - -> vtadmin@0.1.0 build -> vite build - -vite v4.2.1 building for production... -transforming (1218) src/icons/alertFail.svgUse of eval in "node_modules/@protobufjs/inquire/index.js" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 1231 modules transformed. -build/assets/chevronUp-3d6782a5.svg 0.18 kB -build/assets/chevronDown-02f94e73.svg 0.19 kB -build/assets/download-8ef290b4.svg 0.21 kB -build/assets/delete-a9184ef9.svg 0.23 kB -build/assets/info-2617ee9d.svg 0.34 kB -build/assets/circleAdd-cfd7e5db.svg 0.35 kB -build/assets/alertFail-8056b6e4.svg 0.35 kB -build/assets/checkSuccess-f8fd1dbb.svg 0.36 kB -build/assets/search-3261bac7.svg 0.41 kB -build/assets/question-a67b2492.svg 0.46 kB -build/assets/runQuery-edfab4ed.svg 0.49 kB -build/assets/open-405dd348.svg 0.49 kB -build/index.html 0.90 kB -build/assets/bug-5b6edb54.svg 0.99 kB -build/assets/topology-0032b65e.svg 1.62 kB -build/assets/NotoMono-Regular-41fd7ccc.ttf 107.85 kB -build/assets/NotoSans-Regular-c8cff31f.ttf 313.14 kB -build/assets/NotoSans-SemiBold-43207822.ttf 313.72 kB -build/assets/NotoSans-Bold-c6a598dd.ttf 313.79 kB -build/assets/index-ef40fbc9.css 87.78 kB │ gzip: 15.02 kB -build/assets/index-4ddb52ed.js 2,811.88 kB │ gzip: 492.59 kB - -(!) Some chunks are larger than 500 kBs after minification. Consider: -- Using dynamic import() to code-split the application -- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks -- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. -✓ built in 10.85s + - API: http://Florents-MacBook-Pro-2.local:14200 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-api.out + - PID: 49695 vtadmin-web is running! - - Browser: http://localhost:14201 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-web.out - - PID: 74070 + - Browser: http://Florents-MacBook-Pro-2.local:14201 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-web.out + - PID: 49698 ``` If you encounter any errors, such as ports already in use, you can kill the processes and start over. Ensure you're in the vitess/examples/local directory, then issue the statement to kill the processes and remove the data directory. diff --git a/content/en/docs/18.0/get-started/local.md b/content/en/docs/18.0/get-started/local.md index 6fdbadc40..e6fa69d7c 100644 --- a/content/en/docs/18.0/get-started/local.md +++ b/content/en/docs/18.0/get-started/local.md @@ -106,41 +106,42 @@ Created cell: zone1 etcd start done... Starting vtctld... vtctld is running! +Successfully created keyspace commerce. Result: +{ + "name": "commerce", + "keyspace": { + "served_froms": [], + "keyspace_type": 0, + "base_keyspace": "", + "snapshot_time": null, + "durability_policy": "semi_sync", + "throttler_config": null, + "sidecar_db_name": "_vt" + } +} Starting MySQL for tablet zone1-0000000100... Starting vttablet for zone1-0000000100... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:50 GMT +Date: Mon, 26 Jun 2023 19:21:51 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000101... Starting vttablet for zone1-0000000101... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:49:55 GMT +Date: Mon, 26 Jun 2023 19:21:54 GMT Content-Type: text/html; charset=utf-8 Starting MySQL for tablet zone1-0000000102... Starting vttablet for zone1-0000000102... HTTP/1.1 200 OK -Date: Thu, 01 Sep 2022 12:50:00 GMT +Date: Mon, 26 Jun 2023 19:21:56 GMT Content-Type: text/html; charset=utf-8 -{ - "keyspace": { - "served_froms": [], - "keyspace_type": 0, - "base_keyspace": "", - "snapshot_time": null, - "durability_policy": "semi_sync", - "throttler_config": null, - "sidecar_db_name": "_vt" - } -} vtorc is running! - UI: http://localhost:16000 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtorc.out - - PID: 74088 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtorc.out + - PID: 49556 -zone1-0000000100 commerce 0 primary localhost:15100 localhost:17100 [] 2022-09-23T05:48:52Z New VSchema object: { @@ -153,7 +154,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "customer": { "type": "", @@ -161,7 +163,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" }, "product": { "type": "", @@ -169,7 +172,8 @@ New VSchema object: "auto_increment": null, "columns": [], "pinned": "", - "column_list_authoritative": false + "column_list_authoritative": false, + "source": "" } }, "require_explicit_routing": false @@ -177,61 +181,16 @@ New VSchema object: If this is not what you expected, check the input data (as JSON parsing will skip unexpected fields). Waiting for vtgate to be up... vtgate is up! -Access vtgate at http://Manans-MacBook-Pro.local:15001/debug/status +Access vtgate at http://Florents-MacBook-Pro-2.local:15001/debug/status vtadmin-api is running! - - API: http://localhost:14200 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-api.out - - PID: 74039 - -Installing nvm... - -nvm is already installed! - -Configuring Node.js 18.16.0 - -Downloading and installing node v18.16.0... -Local cache found: ${NVM_DIR}/.cache/bin/node-v18.16.0-darwin-x64/node-v18.16.0-darwin-x64.tar.xz -Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v18.16.0-darwin-x64/node-v18.16.0-darwin-x64.tar.xz -Now using node v18.16.0 (npm v9.5.1) - -> vtadmin@0.1.0 build -> vite build - -vite v4.2.1 building for production... -transforming (1218) src/icons/alertFail.svgUse of eval in "node_modules/@protobufjs/inquire/index.js" is strongly discouraged as it poses security risks and may cause issues with minification. -✓ 1231 modules transformed. -build/assets/chevronUp-3d6782a5.svg 0.18 kB -build/assets/chevronDown-02f94e73.svg 0.19 kB -build/assets/download-8ef290b4.svg 0.21 kB -build/assets/delete-a9184ef9.svg 0.23 kB -build/assets/info-2617ee9d.svg 0.34 kB -build/assets/circleAdd-cfd7e5db.svg 0.35 kB -build/assets/alertFail-8056b6e4.svg 0.35 kB -build/assets/checkSuccess-f8fd1dbb.svg 0.36 kB -build/assets/search-3261bac7.svg 0.41 kB -build/assets/question-a67b2492.svg 0.46 kB -build/assets/runQuery-edfab4ed.svg 0.49 kB -build/assets/open-405dd348.svg 0.49 kB -build/index.html 0.90 kB -build/assets/bug-5b6edb54.svg 0.99 kB -build/assets/topology-0032b65e.svg 1.62 kB -build/assets/NotoMono-Regular-41fd7ccc.ttf 107.85 kB -build/assets/NotoSans-Regular-c8cff31f.ttf 313.14 kB -build/assets/NotoSans-SemiBold-43207822.ttf 313.72 kB -build/assets/NotoSans-Bold-c6a598dd.ttf 313.79 kB -build/assets/index-ef40fbc9.css 87.78 kB │ gzip: 15.02 kB -build/assets/index-4ddb52ed.js 2,811.88 kB │ gzip: 492.59 kB - -(!) Some chunks are larger than 500 kBs after minification. Consider: -- Using dynamic import() to code-split the application -- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks -- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. -✓ built in 10.85s + - API: http://Florents-MacBook-Pro-2.local:14200 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-api.out + - PID: 49695 vtadmin-web is running! - - Browser: http://localhost:14201 - - Logs: /Users/manangupta/vitess/vtdataroot/tmp/vtadmin-web.out - - PID: 74070 + - Browser: http://Florents-MacBook-Pro-2.local:14201 + - Logs: /Users/florentpoinsard/Code/vitess/vtdataroot/tmp/vtadmin-web.out + - PID: 49698 ``` You can also verify that the processes have started with `pgrep`: diff --git a/content/en/docs/contributing/build-on-centos.md b/content/en/docs/contributing/build-on-centos.md index 5df7848e8..90dfdad60 100644 --- a/content/en/docs/contributing/build-on-centos.md +++ b/content/en/docs/contributing/build-on-centos.md @@ -116,6 +116,12 @@ Build Vitess: make build ``` +Since the addition of [#13263](https://github.com/vitessio/vitess/pull/13262) the `vtadmin` React application will be built when doing a `make build`. +You can skip this step by setting the `NOVTADMINBUILD` environment variable. +```shell +NOVTADMINBUILD=1 make build +``` + ## Testing your Binaries The unit tests require the following additional packages: diff --git a/content/en/docs/contributing/build-on-macos.md b/content/en/docs/contributing/build-on-macos.md index 386d0902e..b87ce0b6b 100644 --- a/content/en/docs/contributing/build-on-macos.md +++ b/content/en/docs/contributing/build-on-macos.md @@ -75,6 +75,12 @@ Build Vitess: make build ``` +Since the addition of [#13263](https://github.com/vitessio/vitess/pull/13262) the `vtadmin` React application will be built when doing a `make build`. +You can skip this step by setting the `NOVTADMINBUILD` environment variable. +```shell +NOVTADMINBUILD=1 make build +``` + ## Testing your Binaries The unit tests require that you first install a Java runtime. This is required for running ZooKeeper tests: diff --git a/content/en/docs/contributing/build-on-ubuntu.md b/content/en/docs/contributing/build-on-ubuntu.md index e532005a3..8b35b5c4c 100644 --- a/content/en/docs/contributing/build-on-ubuntu.md +++ b/content/en/docs/contributing/build-on-ubuntu.md @@ -128,6 +128,12 @@ Build Vitess: make build ``` +Since the addition of [#13263](https://github.com/vitessio/vitess/pull/13262) the `vtadmin` React application will be built when doing a `make build`. +You can skip this step by setting the `NOVTADMINBUILD` environment variable. +```shell +NOVTADMINBUILD=1 make build +``` + ## Testing your Binaries The unit test requires that you first install the following packages: