Description
When using "-h" with cbrestore or cbtransfer, the help text for the "-x rehash" flag is too narrow...
rehash=0 (For value 1, transfer data from Mac OSX platform)
That is, the rehash flag might also be used when restoring backups from cbgb, which isn't Mac OSX specific.
Some better wording would be...
rehash=0 (For value 1, rehash the partition id's of each item; this is needed when
transferring data between clusters with different number of partitions, such
as when transferring data from an OSX server to a non-OSX cluster)
Also, the "-x design_doc_only" flag has an extra period (.), unlike the other help entries.
design_doc_only=0 (For value 1, transfer
design documents only from a backup file or cluster.)
Example of current -h output...
$ cbtransfer -h
[...cut...]
Available extra config parameters (-x):
batch_max_bytes=400000 (Transfer this # of bytes per batch);
batch_max_size=1000 (Transfer this # of documents per batch);
cbb_max_mb=100000 (Split backup file on destination cluster if it
exceeds MB); conflict_resolve=1 (By default, disable conflict
resolution.); data_only=0 (For value 1, only transfer data from a
backup file or cluster); design_doc_only=0 (For value 1, transfer
design documents only from a backup file or cluster.); max_retry=10
(Max number of sequential retries if transfer fails); nmv_retry=1 (0
or 1, where 1 retries transfer after a NOT_MY_VBUCKET message);
recv_min_bytes=4096 (Amount of bytes for every TCP/IP call
transferred); rehash=0 (For value 1, transfer data from Mac OSX
platform); report=5 (Number batches transferred before updating
progress bar in console); report_full=2000 (Number batches transferred
before emitting progress information in console); try_xwm=1 (Transfer
documents with metadata. 0 should only be used if you transfer from
1.8.x to 1.8.x)
Attachments
For Gerrit Dashboard: MB-8988 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
29226,14 | MB-8988: Sequence numbers are assigned by the CheckpointManager | master | ep-engine | Status: MERGED | +2 | +1 |