-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 (#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. (cherry picked from commit 82adb16)
- Loading branch information
1 parent
6b57f23
commit ad82923
Showing
5 changed files
with
23 additions
and
14 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