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

Update prepare shutdown #9175

Merged
merged 19 commits into from
Apr 19, 2023

Conversation

MichelHollands
Copy link
Contributor

@MichelHollands MichelHollands commented Apr 18, 2023

What this PR does / why we need it:

This updates the PrepareShutdown method so it supports GET and DELETE methods as well. This makes it similar to Mimir: grafana/mimir#4718.
The status is now stored in a local file. A new config setting had to be added for this file as there is no obvious place to store it.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Apr 18, 2023
MichelHollands and others added 5 commits April 18, 2023 11:31
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
@MichelHollands MichelHollands marked this pull request as ready for review April 18, 2023 13:28
@MichelHollands MichelHollands requested review from JStickler and a team as code owners April 18, 2023 13:28
Copy link
Contributor

@JStickler JStickler left a comment

Choose a reason for hiding this comment

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

[docs team] LGTM

Copy link
Contributor

@DylanGuedes DylanGuedes left a comment

Choose a reason for hiding this comment

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

looks pretty solid, gj. I'm blocking the PR because of the flag suggestion (from using underscore to dashes) because if you merge this way and we decide to change it back it would be a breaking change.

pkg/ingester/ingester.go Outdated Show resolved Hide resolved
docs/sources/configuration/_index.md Outdated Show resolved Hide resolved
docs/sources/configuration/_index.md Outdated Show resolved Hide resolved
pkg/ingester/ingester.go Show resolved Hide resolved
Copy link
Contributor

@JordanRushing JordanRushing left a comment

Choose a reason for hiding this comment

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

LGTM!

MichelHollands and others added 6 commits April 19, 2023 09:06
Co-authored-by: Dylan Guedes <djmgguedes@gmail.com>
Co-authored-by: Dylan Guedes <djmgguedes@gmail.com>
…s set

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
Copy link
Contributor

@DylanGuedes DylanGuedes left a comment

Choose a reason for hiding this comment

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

one more 😄

pkg/loki/modules.go Show resolved Hide resolved
pkg/loki/modules.go Show resolved Hide resolved
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
DylanGuedes
DylanGuedes previously approved these changes Apr 19, 2023
Copy link
Contributor

@DylanGuedes DylanGuedes left a comment

Choose a reason for hiding this comment

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

lgtm

@DylanGuedes DylanGuedes dismissed their stale review April 19, 2023 14:13

dismissing the review since the ci is broken

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
@MichelHollands MichelHollands merged commit abd6131 into grafana:main Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants