release/v1.2: Support comma separated list of zero addresses in alpha (#5116) #5258
+23
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA- DGRAPH-1132
Currently, alpha supports specifying only a single zero instance
address via the
--zero
flag indgraph alpha
command. This commitadds supports for a comma-separated list of
zero
addresses indgraph alpha
so that any zero address can be used from the listof 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)
This change is
Docs Preview: