Skip to content

Conversation

roystchiang
Copy link
Contributor

@roystchiang roystchiang commented Apr 14, 2022

What this PR does:

Stops notifier when a user is removed from ruler.

Currently if a user is removed from ruler, the notifier keeps on accumulating. If a cluster has high churn, memory will grow at a faster pace

Screen Shot 2022-04-13 at 7 57 22 PM

Which issue(s) this PR fixes:

Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@roystchiang roystchiang marked this pull request as draft April 14, 2022 02:07
@roystchiang roystchiang force-pushed the fix-ruler-leak branch 4 times, most recently from 27d1a37 to ea2db88 Compare April 14, 2022 03:04
@pull-request-size pull-request-size bot added size/M and removed size/S labels Apr 14, 2022
@roystchiang roystchiang force-pushed the fix-ruler-leak branch 2 times, most recently from 38d2d25 to a2726ff Compare April 14, 2022 05:37
Signed-off-by: Roy Chiang <roychi@amazon.com>
Signed-off-by: Roy Chiang <roychi@amazon.com>
@rohang98 rohang98 force-pushed the fix-ruler-leak branch 2 times, most recently from 39fbbbc to c1e43ec Compare April 26, 2022 18:23
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Apr 27, 2022
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
@pull-request-size pull-request-size bot added size/S and removed size/M labels Apr 27, 2022
Signed-off-by: Rohan Gupta <rohdata@amazon.com>
@pull-request-size pull-request-size bot added size/M and removed size/S labels May 9, 2022
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
@pull-request-size pull-request-size bot added size/S and removed size/M labels May 31, 2022
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
This reverts commit 7387f2d.

Signed-off-by: Alvin Lin <alvinlin@amazon.com>
@pull-request-size pull-request-size bot added size/M and removed size/S labels May 31, 2022
…ler notifier metrics

Signed-off-by: Alvin Lin <alvinlin@amazon.com>
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jun 1, 2022
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
@alvinlin123
Copy link
Contributor

Although all the checks passed, I think we still need update manager_metrics_test.go's populateManager() function to take the new metrics I added into manager_metrics.go into consideration.

Signed-off-by: Roy Chiang <roychi@amazon.com>
@alvinlin123 alvinlin123 marked this pull request as ready for review June 10, 2022 00:21
@alvinlin123
Copy link
Contributor

Thanks for adding the test @roystchiang. I've mark this PR Ready for Review.

@alvinlin123 alvinlin123 requested a review from alanprot June 10, 2022 00:33
@alvinlin123 alvinlin123 merged commit e34f5e8 into cortexproject:master Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants