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

feat: allow dynamic config of terminationGracePeriodSeconds to work with storage.vminsertConnsShutdownDuration flag #1147

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

rl0nergan
Copy link
Contributor

Relates to #744

Currently with larger vmclusters that may need more time to handle vmstorage rollouts, there's a storage.vminsertConnsShutdownDuration flag we can use to handle gracefully closing connections to vminsert while it rolls out. However the issue we're running into is that the operator uses a hard-coded value of 30s to set the grace period for delete, so we increasing the value used for the storage.vminsertConnsShutdownDuration flag doesn't help since vmstorage pods will always be killed after 30 seconds.

@rl0nergan rl0nergan marked this pull request as ready for review November 5, 2024 21:09
@rl0nergan rl0nergan force-pushed the feat/dynamic-grace-period branch from 28e16da to 70226ac Compare November 5, 2024 21:10
@rl0nergan rl0nergan force-pushed the feat/dynamic-grace-period branch from 70226ac to ce85ad6 Compare November 6, 2024 15:25
Copy link
Collaborator

@f41gh7 f41gh7 left a comment

Choose a reason for hiding this comment

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

LGTM

@f41gh7 f41gh7 merged commit d00903e into VictoriaMetrics:master Nov 6, 2024
@f41gh7
Copy link
Collaborator

f41gh7 commented Nov 6, 2024

Thanks for contribution!

@rl0nergan rl0nergan deleted the feat/dynamic-grace-period branch December 10, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants