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

Periodically run GC in all dgraph commands. #4032

Merged
merged 3 commits into from
Sep 20, 2019

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Sep 20, 2019

Currently, only the bulk loader is making sure the garbage collector is
run periodically. This PR moves that logic to main.go so that it's run
by all dgraph commands.


This change is Reviewable

Currently, only the bulk loader is making sure the garbage collector is
run periodically. This PR moves that logic to main.go so that it's run
by all dgraph commands.
@martinmr martinmr requested review from manishrjain and a team as code owners September 20, 2019 00:21
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ A review job has been created and sent to the PullRequest network.


@martinmr you can click here to see the review status or cancel the code review job.

@martinmr martinmr changed the title Periodically run GC in all dgraph binaries. Periodically run GC in all dgraph commands. Sep 20, 2019
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

Cool, the change looks good to me.


Reviewed with ❤️ by PullRequest

Copy link
Contributor

@manishrjain manishrjain 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: 1 of 2 files reviewed, all discussions resolved (waiting on @manishrjain)

@manishrjain manishrjain merged commit 4f15d4d into master Sep 20, 2019
@manishrjain manishrjain deleted the martinmr/run-gc-in-main branch September 20, 2019 23:43
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