Skip to content

dispatch: don't reset timer if flush is in-progress#1301

Merged
stuartnelson3 merged 1 commit intoprometheus:masterfrom
simonpasquier:minimize-flush-races
Mar 29, 2018
Merged

dispatch: don't reset timer if flush is in-progress#1301
stuartnelson3 merged 1 commit intoprometheus:masterfrom
simonpasquier:minimize-flush-races

Conversation

@simonpasquier
Copy link
Member

This helps a bit for #1005 but it isn't a silver bullet.

When the aggregation group receives an alert that is past the initial
group_wait value, it should reset its timer only if the timer has ever
expired. Otherwise it means that the flush is already in-progress.
@stuartnelson3 stuartnelson3 merged commit 4cba491 into prometheus:master Mar 29, 2018
@simonpasquier simonpasquier deleted the minimize-flush-races branch April 5, 2018 14:45
mxinden pushed a commit to mxinden/alertmanager that referenced this pull request May 5, 2018
When the aggregation group receives an alert that is past the initial
group_wait value, it should reset its timer only if the timer has ever
expired. Otherwise it means that the flush is already in-progress.
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.

2 participants