Skip to content

Shutdown executor goroutines (#5130)#5150

Merged
animesh2049 merged 1 commit intorelease/v20.03from
animesh2049/drain-mutation-channel
Apr 12, 2020
Merged

Shutdown executor goroutines (#5130)#5150
animesh2049 merged 1 commit intorelease/v20.03from
animesh2049/drain-mutation-channel

Conversation

@animesh2049
Copy link
Copy Markdown
Contributor

@animesh2049 animesh2049 commented Apr 9, 2020

Once shutdown signal is sent, alpha used to ignore all the mutations present in the channel and shutdown. Now alpha will process all the mutation that are already there in the channel. Main go routine will wait for the channel to be drained completely.


This change is Reviewable

Docs Preview: Dgraph Preview

@animesh2049 animesh2049 requested a review from manishrjain as a code owner April 9, 2020 14:55
@animesh2049 animesh2049 requested a review from a team April 9, 2020 14:55
Copy link
Copy Markdown
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@animesh2049 animesh2049 merged commit ce43cad into release/v20.03 Apr 12, 2020
@joshua-goldstein joshua-goldstein deleted the animesh2049/drain-mutation-channel branch August 11, 2022 20:38
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.

2 participants