forked from dgraph-io/dgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support comma separated list of zero addresses in alpha (dgraph-io#5116)
Currently, alpha supports specifying only a single zero instance address via the `--zero` flag in `dgraph alpha` command. This commit adds supports for a comma-separated list of `zero` addresses in `dgraph alpha` so that any zero address can be used from the list of zero addresses if one of them is unavailable. We'll pick zero addresses starting from the first one in the list and try to establish a connection to it. If it fails, we'll pick the next zero address. The `dgraph bulk/live` command accepts only a single zero address. The comma-separated list is only for `dgraph alpha` command.
- Loading branch information
1 parent
92baa63
commit fc4a3c0
Showing
5 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters