mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
Merge pull request #835 from yuce/817-gossip-seed-doc
TRIVIAL: Fixes gossip-seed configuration example
This commit is contained in:
commit
4447225481
1 changed files with 22 additions and 24 deletions
|
|
@ -65,6 +65,17 @@ Any flag that has a value that is a comma separated list on the command line bec
|
|||
bind = localhost:10101
|
||||
```
|
||||
|
||||
#### Data Dir
|
||||
|
||||
* Description: Directory to store Pilosa data files.
|
||||
* Flag: `--data-dir="~/.pilosa"`
|
||||
* Env: `PILOSA_DATA_DIR="~/.pilosa"`
|
||||
* Config:
|
||||
|
||||
```toml
|
||||
data-dir = "~/.pilosa"
|
||||
```
|
||||
|
||||
#### Gossip Port
|
||||
|
||||
* Description: Port to which Pilosa should bind for internal communication.
|
||||
|
|
@ -76,6 +87,17 @@ Any flag that has a value that is a comma separated list on the command line bec
|
|||
gossip-port = 11101
|
||||
```
|
||||
|
||||
#### Gossip Seed
|
||||
|
||||
* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`.
|
||||
* Flag: `--gossip-seed="localhost:11101"`
|
||||
* Env: `PILOSA_GOSSIP_SEED="localhost:11101"`
|
||||
* Config:
|
||||
|
||||
```toml
|
||||
gossip-seed = "localhost:11101"
|
||||
```
|
||||
|
||||
#### Cluster Hosts
|
||||
|
||||
* Description: List of hosts in the cluster. Multiple hosts should be comma separated in the flag and env forms.
|
||||
|
|
@ -127,30 +149,6 @@ Any flag that has a value that is a comma separated list on the command line bec
|
|||
type = "gossip"
|
||||
```
|
||||
|
||||
#### Data Dir
|
||||
|
||||
* Description: Directory to store Pilosa data files.
|
||||
* Flag: `--data-dir="~/.pilosa"`
|
||||
* Env: `PILOSA_DATA_DIR="~/.pilosa"`
|
||||
* Config:
|
||||
|
||||
```toml
|
||||
data-dir = "~/.pilosa"
|
||||
```
|
||||
|
||||
#### Gossip Seed
|
||||
|
||||
* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`.
|
||||
* Flag: `--gossip-seed="localhost:11101"`
|
||||
* Env: `PILOSA_GOSSIP_SEED="localhost:11101"`
|
||||
* Config:
|
||||
|
||||
```toml
|
||||
[cluster]
|
||||
type = "gossip"
|
||||
gossip-seed = "localhost:11101"
|
||||
```
|
||||
|
||||
#### Profile CPU
|
||||
|
||||
* Description: If this is set to a path, collect a cpu profile and store it there.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue