Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
384d7fd6
Commit
384d7fd6
authored
2 years ago
by
Yaroslav Dynnikov
Browse files
Options
Downloads
Patches
Plain Diff
docs: fix command line arguments help
parent
a8f90fbd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!186
docs: fix command line arguments help
Pipeline
#9148
passed
2 years ago
Stage: build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/args.rs
+6
-6
6 additions, 6 deletions
src/args.rs
with
6 additions
and
6 deletions
src/args.rs
+
6
−
6
View file @
384d7fd6
...
...
@@ -59,8 +59,8 @@ pub struct Run {
default_value
=
""
,
env
=
"PICODATA_INSTANCE_ID"
)]
/// Name of the instance
///
Empty value means that instance_id of a Follower wi
ll be generated
on the Leader
/// Name of the instance
.
///
If not defined, it'
ll be generated
automatically.
instance_id
:
String
,
#[clap(
...
...
@@ -105,8 +105,8 @@ pub struct Run {
env
=
"PICODATA_FAILURE_DOMAIN"
)]
/// Comma-separated list describing physical location of the server.
/// Each domain is a key-value pair.
Until max replicaset count is
///
reached, p
icodata will avoid putting two instances into the same
/// Each domain is a key-value pair.
///
P
icodata will avoid putting two instances into the same
/// replicaset if at least one key of their failure domains has the
/// same value. Instead, new replicasets will be created.
/// Replicasets will be populated with instances from different
...
...
@@ -123,8 +123,8 @@ pub struct Run {
#[clap(long,
default_value
=
"1"
,
env
=
"PICODATA_INIT_REPLICATION_FACTOR"
)]
/// Total number of replicas (copies of data) for each replicaset in
/// the cluster. It's only accounted upon the cluster initialization
(when the first instance bootstraps), and
/// ignored aftwerwards.
/// the cluster. It's only accounted upon the cluster initialization
///
(when the first instance bootstraps), and
ignored aftwerwards.
pub
init_replication_factor
:
u8
,
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment