-
Notifications
You must be signed in to change notification settings - Fork 100
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
Adds sleep command at the end of compaction. #660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
3dca0e3
to
edccbbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abdasgupta thanks for the PR. I have a few suggestions/comments. PTAL, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abdasgupta thanks for making the changes. I have a few comments regarding the changes made. PTAL, thanks
993a2d3
to
581d4e7
Compare
581d4e7
to
b146705
Compare
@abdasgupta thanks for making the changes. Please adapt the PR description and release note to reflect the new flag name and behavior. Also, I would ask you to not force-push to PRs in the future, since it becomes very difficult to review the new changes that were made. Instead, you may choose to add a squash-merge label to the PR, so that whoever is merging the PR will squash-merge the PR and leave out the |
/label merge/squash |
The release note needs to be more precise and correctly formatted. See below example:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
What this PR does / why we need it:
This PR adds a provision of sleep duration after the
Compact
function done with uploading snapshot. This sleep duration is needed as prometheus is required to collect necessary metrics for network activity after a fast full snapshot upload. The sleep duration is supplied as flag toetcdbrctl compact
command and set to 0 by default. But the flag can be configured by any agent, who is usingetcdbrctl
, to set any duration value like 60s, 2m etc.60s
value of sleep duration is enough to allow sufficient time for Prometheus to scrape network related metrics after a fast full snapshot upload.Which issue(s) this PR fixes:
Fixes #
gardener/etcd-druid#648
Special notes for your reviewer:
Release note: