From 06123b1784c390723cf23635f7839e56aa037698 Mon Sep 17 00:00:00 2001 From: Michel Diz Date: Thu, 11 Apr 2019 22:22:28 -0300 Subject: [PATCH 1/2] Docs: Distributed Load and change increment flag Added about distributed load related to #3278 Change in increment section is related to #3284 --- wiki/content/deploy/index.md | 3 +++ wiki/content/howto/index.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wiki/content/deploy/index.md b/wiki/content/deploy/index.md index 5c6b83d7f69..1770d609804 100644 --- a/wiki/content/deploy/index.md +++ b/wiki/content/deploy/index.md @@ -1482,6 +1482,9 @@ Do not confuse with `-C`. `-C, --use_compression` (default: false): Enable compression for connections to and from the Alpha server. +`-a, --alpha` - Distributed Load: You can do a distributed load with Liveloader. Just enter a +Comma-separated list of Dgraph alpha gRPC server addresses. e.g: `-a "alpha:grpc_port,alpha2:grpc_port,alpha3:grpc_port"`. + ### Bulk Loader {{% notice "note" %}} diff --git a/wiki/content/howto/index.md b/wiki/content/howto/index.md index acab6ac180e..8bb9ba118e9 100644 --- a/wiki/content/howto/index.md +++ b/wiki/content/howto/index.md @@ -277,10 +277,10 @@ exist, then it will be created starting at counter 0. $ dgraph increment ``` -Increment the counter predicate against the Alpha running at address `--addr` (default: `localhost:9080`): +Increment the counter predicate against the Alpha running at address `--alpha` (default: `localhost:9080`): ```sh -$ dgraph increment --addr=192.168.1.10:9080 +$ dgraph increment --alpha=192.168.1.10:9080 ``` Increment the counter predicate specified by `--pred` (default: `counter.val`): From 20bc78831a4afd64337479094c8f3edc28b9d9fa Mon Sep 17 00:00:00 2001 From: Daniel Mai Date: Thu, 11 Apr 2019 19:22:09 -0700 Subject: [PATCH 2/2] docs: Update description for live loader's alpha flag. --- wiki/content/deploy/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wiki/content/deploy/index.md b/wiki/content/deploy/index.md index 1770d609804..5e641ffabb6 100644 --- a/wiki/content/deploy/index.md +++ b/wiki/content/deploy/index.md @@ -1482,8 +1482,7 @@ Do not confuse with `-C`. `-C, --use_compression` (default: false): Enable compression for connections to and from the Alpha server. -`-a, --alpha` - Distributed Load: You can do a distributed load with Liveloader. Just enter a -Comma-separated list of Dgraph alpha gRPC server addresses. e.g: `-a "alpha:grpc_port,alpha2:grpc_port,alpha3:grpc_port"`. +`-a, --alpha` (default: `localhost:9080`): Dgraph Alpha gRPC server address to connect for live loading. This can be a comma-separated list of Alphas addresses in the same cluster to distribute the load, e.g., `"alpha:grpc_port,alpha2:grpc_port,alpha3:grpc_port"`. ### Bulk Loader