Skip to content

Commit

Permalink
addmirrors/recoverseg : change -B/-b help desc
Browse files Browse the repository at this point in the history
gprecoverseg and gpaddmirrors have changed behavior for -B/-b options.
This commit is to edit the help files to show that change.
  • Loading branch information
divyeshddv committed Jun 17, 2021
1 parent 2f45387 commit fa12b30
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
23 changes: 16 additions & 7 deletions gpMgmt/doc/gpaddmirrors_help
Expand Up @@ -10,11 +10,12 @@ SYNOPSIS


gpaddmirrors [-p <port_offset>] [-m <datadir_config_file> [-a]] [-s]
[-d <master_data_directory>] [-B <parallel_processes>]
[-d <master_data_directory>] [-B <parallel_processes>]
[-l <logfile_directory>] [-v]

gpaddmirrors -i <mirror_config_file> [-s] [-a]
[-d <master_data_directory>] [-B <parallel_processes>]
[-d <master_data_directory>]
[-B <batch_size>] [-b <segment_batch_size>]
[-l <logfile_directory>] [-v]

gpaddmirrors -o <output_sample_mirror_config> [-m <datadir_config_file>]
Expand Down Expand Up @@ -102,16 +103,24 @@ OPTIONS
a configuration file with either -m or -i if this option is used.


-B <parallel_processes>
-B <batch_size>

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 <segment_batch_size>

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 <master_data_directory>

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.


Expand Down
21 changes: 15 additions & 6 deletions gpMgmt/doc/gprecoverseg_help
Expand Up @@ -9,7 +9,8 @@ Synopsis

gprecoverseg [-p <new_recover_host>[,...]]
|-i <recover_config_file>
[-d <master_data_directory>] [-B <parallel_processes>]
[-d <master_data_directory>]
[-B <batch_size>] [-b <segment_batch_size>]
[-F] [-a] [-q] [-s] [--no-progress] [-l <logfile_directory>]


Expand Down Expand Up @@ -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.


Expand Down

0 comments on commit fa12b30

Please sign in to comment.