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

fix(GraphQL): This PR fixes issue of multiple responses in a subscription for an update. #6868

Merged
merged 4 commits into from
Nov 11, 2020

Conversation

JatinDev543
Copy link
Contributor

@JatinDev543 JatinDev543 commented Nov 9, 2020

Fixes GRAPHQL-764
If we start and Terminate multiple subscriptions and at the end start a new subscription with a 1-second duration between each terminate and start then for any update we were getting multiple responses for the last running subscription whereas we should be getting the only one response.


This change is Reviewable

@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Nov 9, 2020
Copy link
Contributor

@pawanrawal pawanrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, 1 of 1 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @MichaelJCompton)

@JatinDev543 JatinDev543 merged commit 734bbe1 into master Nov 11, 2020
JatinDev543 added a commit that referenced this pull request Nov 11, 2020
…tion for an update. (#6868)

Fixes GRAPHQL-764
If we start and Terminate multiple subscriptions and at the end start a new subscription with a 1-second duration between each terminate and start then for any update we were getting multiple responses for the last running subscription whereas we should be getting the only one response.

Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
(cherry picked from commit 734bbe1)
JatinDev543 added a commit that referenced this pull request Nov 11, 2020
…tion for an update. (#6868) (#6879)

Fixes GRAPHQL-764
If we start and Terminate multiple subscriptions and at the end start a new subscription with a 1-second duration between each terminate and start then for any update we were getting multiple responses for the last running subscription whereas we should be getting the only one response.

Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
(cherry picked from commit 734bbe1)
JatinDev543 added a commit that referenced this pull request Nov 20, 2020
…tion for an update. (#6868)

Fixes GRAPHQL-764
If we start and Terminate multiple subscriptions and at the end start a new subscription with a 1-second duration between each terminate and start then for any update we were getting multiple responses for the last running subscription whereas we should be getting the only one response.

Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
(cherry picked from commit 734bbe1)
JatinDev543 added a commit that referenced this pull request Nov 23, 2020
…tion for an update. (#6868) (#6935)

Fixes GRAPHQL-764
If we start and Terminate multiple subscriptions and at the end start a new subscription with a 1-second duration between each terminate and start then for any update we were getting multiple responses for the last running subscription whereas we should be getting the only one response.

Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
(cherry picked from commit 734bbe1)
@joshua-goldstein joshua-goldstein deleted the jatin/GRAPHQL-764 branch August 11, 2022 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

2 participants