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 upQueue Manager: panic: close of closed channel #5451
Comments
This comment has been minimized.
This comment has been minimized.
|
@bismarck do you have the logs from before the logs you posted? was there a reshard or config reload taking place? |
This comment has been minimized.
This comment has been minimized.
|
@cstyan Looks like both a reshard and reload took place:
|
This comment has been minimized.
This comment has been minimized.
|
We adjusted |
This was referenced Apr 11, 2019
brian-brazil
closed this
in
#5460
Apr 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bismarck commentedApr 10, 2019
•
edited
Bug Report
What did you do?
Ran prometheus with remote write enabled.
What did you expect to see?
No panic
What did you see instead? Under which circumstances?
Got a panic for close of closed channel . I suspect it occurs because
(t *QueueManager) Stop()is called in the middle of(t *QueueManager) reshardLoop().Environment
System information:
Linux 4.15.0-1037-azure x86_64
Prometheus version:
prometheus, version 2.8.1 (branch: remote-write-fix, revision: 4a913999f7e6f50ac8186f589561498c07e6dd53)
build user: user@machine
build date: 20190405-17:39:10
go version: go1.12.1
This was a build of PR #5429 and Brian's TSDB changes 1099999. I'm pretty sure this issue is present in master.