From fa12b30ac135dbb8e649a125fef496a0f9a9d565 Mon Sep 17 00:00:00 2001 From: Divyesh Vanjare Date: Thu, 10 Jun 2021 07:44:48 -0700 Subject: [PATCH] addmirrors/recoverseg : change -B/-b help desc gprecoverseg and gpaddmirrors have changed behavior for -B/-b options. This commit is to edit the help files to show that change. --- gpMgmt/doc/gpaddmirrors_help | 23 ++++++++++++++++------- gpMgmt/doc/gprecoverseg_help | 21 +++++++++++++++------ 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/gpMgmt/doc/gpaddmirrors_help b/gpMgmt/doc/gpaddmirrors_help index 3545a1f6f677..58c64ae5ea95 100755 --- a/gpMgmt/doc/gpaddmirrors_help +++ b/gpMgmt/doc/gpaddmirrors_help @@ -10,11 +10,12 @@ SYNOPSIS gpaddmirrors [-p ] [-m [-a]] [-s] - [-d ] [-B ] + [-d ] [-B ] [-l ] [-v] gpaddmirrors -i [-s] [-a] - [-d ] [-B ] + [-d ] + [-B ] [-b ] [-l ] [-v] gpaddmirrors -o [-m ] @@ -102,16 +103,24 @@ OPTIONS a configuration file with either -m or -i if this option is used. --B +-B - The number of mirror setup processes to start in parallel. If - not specified, the utility will start up to 10 parallel processes - depending on how many mirror segment instances it needs to set up. +The number of hosts to work on in parallel. If not specified, the +utility will start working on up to 16 hosts in parallel. +Valid values: 1-64 + + +-b + +The number of segments per host to work on in parallel. If not +specified, the utility will start working on up to 64 segments +in parallel on each host it is working on. +Valid values: 1-128 -d - The master data directory. If not specified, the value set for + The master data directory. If not specified, the value set for $MASTER_DATA_DIRECTORY will be used. diff --git a/gpMgmt/doc/gprecoverseg_help b/gpMgmt/doc/gprecoverseg_help index 8aa3c8fbaedc..6abd5c14ba7d 100755 --- a/gpMgmt/doc/gprecoverseg_help +++ b/gpMgmt/doc/gprecoverseg_help @@ -9,7 +9,8 @@ Synopsis gprecoverseg [-p [,...]] |-i - [-d ] [-B ] + [-d ] + [-B ] [-b ] [-F] [-a] [-q] [-s] [--no-progress] [-l ] @@ -109,16 +110,24 @@ OPTIONS Do not prompt the user for confirmation. --B parallel_processes +-B batch_size -The number of segments to recover in parallel. If not specified, -the utility will start up to 16 parallel processes depending -on how many segment instances it needs to recover. +The number of hosts to work on in parallel. If not specified, +the utility will start working on up to 16 hosts in parallel. +Valid values: 1-64 + + +-b segment_batch_size + +The number of segments per host to work on in parallel. If not +specified, the utility will start recovering up to 64 segments +in parallel on each host it is working on. +Valid values: 1-128 -d master_data_directory -Optional. The master host data directory. If not specified, +Optional. The master host data directory. If not specified, the value set for $MASTER_DATA_DIRECTORY will be used.