From 52e142c602f8951205135887495d1cbfb58cad02 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Sat, 12 Aug 2023 11:16:03 -0400 Subject: [PATCH 1/3] Document changes in https://github.com/vitessio/vitess/pull/13770 Signed-off-by: Matt Lord --- content/en/docs/18.0/reference/programs/vtbackup.md | 3 ++- content/en/docs/18.0/reference/programs/vtctl/_index.md | 3 ++- content/en/docs/18.0/reference/programs/vtctld.md | 3 ++- content/en/docs/18.0/reference/programs/vttablet.md | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/content/en/docs/18.0/reference/programs/vtbackup.md b/content/en/docs/18.0/reference/programs/vtbackup.md index afed9dc40..1ee065c41 100644 --- a/content/en/docs/18.0/reference/programs/vtbackup.md +++ b/content/en/docs/18.0/reference/programs/vtbackup.md @@ -53,8 +53,9 @@ While it is running, `vtbackup` serves debugging info and metrics on port `15500 | --alsologtostderr | boolean | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/18.0/reference/programs/vtctl/_index.md b/content/en/docs/18.0/reference/programs/vtctl/_index.md index 628f1e7e9..b0c6fa494 100644 --- a/content/en/docs/18.0/reference/programs/vtctl/_index.md +++ b/content/en/docs/18.0/reference/programs/vtctl/_index.md @@ -169,8 +169,9 @@ The following global options apply to `vtctl`: | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/18.0/reference/programs/vtctld.md b/content/en/docs/18.0/reference/programs/vtctld.md index e455f01ad..d10daa22f 100644 --- a/content/en/docs/18.0/reference/programs/vtctld.md +++ b/content/en/docs/18.0/reference/programs/vtctld.md @@ -41,8 +41,9 @@ vtctld \ | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/18.0/reference/programs/vttablet.md b/content/en/docs/18.0/reference/programs/vttablet.md index 0a6556636..1739f5250 100644 --- a/content/en/docs/18.0/reference/programs/vttablet.md +++ b/content/en/docs/18.0/reference/programs/vttablet.md @@ -57,8 +57,9 @@ The following global options apply to `vttablet`: | --app_pool_size | int | Size of the connection pool for app connections (default 40) | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | From 1bc970beac95f4c49370de067d6aab488765ee7d Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Mon, 14 Aug 2023 12:22:06 -0400 Subject: [PATCH 2/3] Add 17.0 updates Signed-off-by: Matt Lord --- content/en/docs/17.0/reference/programs/vtbackup.md | 3 ++- content/en/docs/17.0/reference/programs/vtctl/_index.md | 5 +++-- content/en/docs/17.0/reference/programs/vtctld.md | 5 +++-- content/en/docs/17.0/reference/programs/vttablet.md | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/content/en/docs/17.0/reference/programs/vtbackup.md b/content/en/docs/17.0/reference/programs/vtbackup.md index df2f25388..b1edbf664 100644 --- a/content/en/docs/17.0/reference/programs/vtbackup.md +++ b/content/en/docs/17.0/reference/programs/vtbackup.md @@ -53,8 +53,9 @@ While it is running, `vtbackup` serves debugging info and metrics on port `15500 | --alsologtostderr | boolean | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/17.0/reference/programs/vtctl/_index.md b/content/en/docs/17.0/reference/programs/vtctl/_index.md index 8d569de65..89f03f4be 100644 --- a/content/en/docs/17.0/reference/programs/vtctl/_index.md +++ b/content/en/docs/17.0/reference/programs/vtctl/_index.md @@ -169,8 +169,9 @@ The following global options apply to `vtctl`: | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | -| --azblob_backup_container_name | string | Azure Blob Container Name | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | +| --azblob_backup_container_name | string | Azure Blob Container Name. | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/17.0/reference/programs/vtctld.md b/content/en/docs/17.0/reference/programs/vtctld.md index 516140890..0d447a776 100644 --- a/content/en/docs/17.0/reference/programs/vtctld.md +++ b/content/en/docs/17.0/reference/programs/vtctld.md @@ -41,8 +41,9 @@ vtctld \ | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | -| --azblob_backup_container_name | string | Azure Blob Container Name | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | +| --azblob_backup_container_name | string | Azure Blob Container Name. | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | diff --git a/content/en/docs/17.0/reference/programs/vttablet.md b/content/en/docs/17.0/reference/programs/vttablet.md index d34196110..aab1bcb76 100644 --- a/content/en/docs/17.0/reference/programs/vttablet.md +++ b/content/en/docs/17.0/reference/programs/vttablet.md @@ -57,8 +57,9 @@ The following global options apply to `vttablet`: | --app_pool_size | int | Size of the connection pool for app connections (default 40) | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | -| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | +| --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased -- a multiple of azblob_backup_buffer_size). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). | | --backup_engine_implementation | string | Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin") | | --backup_storage_block_size | int | if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) | From 688ac51313ff5d17d1edb7ec9ce9125084794c04 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Mon, 14 Aug 2023 12:25:43 -0400 Subject: [PATCH 3/3] Add v16 updates Signed-off-by: Matt Lord --- content/en/docs/16.0/reference/programs/vtbackup.md | 1 + content/en/docs/16.0/reference/programs/vtctl/_index.md | 1 + content/en/docs/16.0/reference/programs/vtctld.md | 1 + content/en/docs/16.0/reference/programs/vttablet.md | 1 + 4 files changed, 4 insertions(+) diff --git a/content/en/docs/16.0/reference/programs/vtbackup.md b/content/en/docs/16.0/reference/programs/vtbackup.md index 5565be13b..9d01550e0 100644 --- a/content/en/docs/16.0/reference/programs/vtbackup.md +++ b/content/en/docs/16.0/reference/programs/vtbackup.md @@ -53,6 +53,7 @@ While it is running, `vtbackup` serves debugging info and metrics on port `15500 | --alsologtostderr | boolean | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | | --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). | diff --git a/content/en/docs/16.0/reference/programs/vtctl/_index.md b/content/en/docs/16.0/reference/programs/vtctl/_index.md index c637bf3a3..451236b22 100644 --- a/content/en/docs/16.0/reference/programs/vtctl/_index.md +++ b/content/en/docs/16.0/reference/programs/vtctl/_index.md @@ -169,6 +169,7 @@ The following global options apply to `vtctl`: | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name | | --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | diff --git a/content/en/docs/16.0/reference/programs/vtctld.md b/content/en/docs/16.0/reference/programs/vtctld.md index cb9d4c9bb..e77567fa0 100644 --- a/content/en/docs/16.0/reference/programs/vtctld.md +++ b/content/en/docs/16.0/reference/programs/vtctld.md @@ -41,6 +41,7 @@ vtctld \ | --alsologtostderr | | log to standard error as well as files | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path) | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name | | --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased) (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/') | diff --git a/content/en/docs/16.0/reference/programs/vttablet.md b/content/en/docs/16.0/reference/programs/vttablet.md index e3dba6112..7fd39574b 100644 --- a/content/en/docs/16.0/reference/programs/vttablet.md +++ b/content/en/docs/16.0/reference/programs/vttablet.md @@ -57,6 +57,7 @@ The following global options apply to `vttablet`: | --app_pool_size | int | Size of the connection pool for app connections (default 40) | | --azblob_backup_account_key_file | string | Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path). | | --azblob_backup_account_name | string | Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used. | +| --azblob_backup_buffer_size | int | The memory buffer size to use in bytes, per file or stripe, when streaming to Azure Blob Service. (default 104857600) | | --azblob_backup_container_name | string | Azure Blob Container Name. | | --azblob_backup_parallelism | int | Azure Blob operation parallelism (requires extra memory when increased). (default 1) | | --azblob_backup_storage_root | string | Root prefix for all backup-related Azure Blobs; this should exclude both initial and trailing '/' (e.g. just 'a/b' not '/a/b/'). |