Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upremote_write: send on closed channel #4262
Comments
brian-brazil
added
kind/bug
component/remote storage
labels
Jun 13, 2018
This comment has been minimized.
This comment has been minimized.
|
I predict that the So should Prometheus make sure that |
This comment has been minimized.
This comment has been minimized.
|
Yes, scrapes and rules should be shutdown before storage. |
This comment has been minimized.
This comment has been minimized.
codwu
commented
Jun 15, 2018
|
@jojohappy As the log shows, this issue is caused by ruleManager. It did not stop rule evaluation after remote storage is stopped. |
This comment has been minimized.
This comment has been minimized.
|
@codwu Yes, It is. As @brian-brazil said, both |
This comment has been minimized.
This comment has been minimized.
|
This sounds like it might be the same cause as #4133 |
This comment has been minimized.
This comment has been minimized.
codwu
commented
Jun 23, 2018
|
prometheus/vendor/github.com/oklog/oklog/pkg/group/group.go Lines 46 to 48 in 2bd510a The managers stop in sequence, so the ruleManager receives the stopping signal after storage. I think we can fix this by adding ruleManager into groups before storage |
brian-brazil
added a commit
that referenced
this issue
Jun 28, 2018
brian-brazil
referenced this issue
Jun 28, 2018
Merged
Reorder startup and shutdown to prevent panics. #4321
brian-brazil
closed this
in
#4321
Jul 4, 2018
brian-brazil
added a commit
that referenced
this issue
Jul 4, 2018
brian-brazil
added a commit
that referenced
this issue
Jul 11, 2018
mknapphrt
added a commit
to mknapphrt/prometheus
that referenced
this issue
Jul 26, 2018
gouthamve
added a commit
to gouthamve/prometheus
that referenced
this issue
Aug 1, 2018
bobmshannon
pushed a commit
to bobmshannon/prometheus
that referenced
this issue
Nov 19, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
iksaif commentedJun 13, 2018
Bug Report
Running Prometheus 2.3.0 with graphite-remote-adapter and stopping it:
Environment