Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VerifyUid should wait for membership information #2974

Merged
merged 1 commit into from
Feb 5, 2019
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Feb 5, 2019

Switch verifyUid to rely upon the membership information being streamed from Zero, instead of making a direct request to Zero.


This change is Reviewable

…ed from Zero, instead of making a direct request to Zero.
@manishrjain manishrjain merged commit 8ed65c8 into master Feb 5, 2019
@manishrjain manishrjain deleted the mrjn/verifyuid branch February 5, 2019 01:41
manishrjain added a commit that referenced this pull request Feb 5, 2019
Switch verifyUid to rely upon the membership information being streamed from Zero, instead of making a direct request to Zero.

This avoids a barrage of `ClusterInfoOnly` requests to Zero by the many mutation requests running concurrently in Alpha, particularly during live loading (where the live loader independently gets uids assigned from Zero).
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Switch verifyUid to rely upon the membership information being streamed from Zero, instead of making a direct request to Zero.

This avoids a barrage of `ClusterInfoOnly` requests to Zero by the many mutation requests running concurrently in Alpha, particularly during live loading (where the live loader independently gets uids assigned from Zero).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant