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 upData races in scrape package. #3994
Comments
beorn7
added
kind/bug
priority/P1
component/scraping
labels
Mar 21, 2018
This comment has been minimized.
This comment has been minimized.
|
@krasi-georgiev is this something that rings a bell for you? |
This comment has been minimized.
This comment has been minimized.
|
I think data races are rather critical. Could anybody familiar with this part of the codebase look into it? It's kind of bad to have no sane 2.x version available. |
This comment has been minimized.
This comment has been minimized.
|
checking it now! looks rather simple so should be able to open a PR soon. |
krasi-georgiev
referenced this issue
Mar 22, 2018
Closed
fix races - discoveredLabels, scrapePools #4000
This comment has been minimized.
This comment has been minimized.
|
one more poped up in the common package and will add a PR for that one as well.
|
This comment has been minimized.
This comment has been minimized.
|
@krasi-georgiev can this be closed now? Somehow it didn't autoclose. |
This comment has been minimized.
This comment has been minimized.
|
not yet , I opened the PR against |
This comment has been minimized.
This comment has been minimized.
|
I have built a binary with race detection at bd44e7f . Sadly, there are still races:
|
This comment has been minimized.
This comment has been minimized.
|
This seems to be the same, but this time with both stack traces:
|
This comment has been minimized.
This comment has been minimized.
|
will check it again tomorrow. |
This comment has been minimized.
This comment has been minimized.
|
Looks like #4066 fixed it. Closing for now. |
beorn7
closed this
Apr 10, 2018
krasi-georgiev
referenced this issue
Aug 14, 2018
Closed
Extend prombench to trigger a job that will catch race conditions /race #134
krasi-georgiev
referenced this issue
Aug 27, 2018
Open
Add another test to benchmark Prometheus with Race enabled. #86
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. |
beorn7 commentedMar 21, 2018
What did you do?
Ran Prometheus with race detection enabled.
What did you expect to see?
No data races.
What did you see instead? Under which circumstances?
Several data races in the scrape package. Most likely when hitting the web UI (targets page, SD page). See logs below.
Environment
System information:
Linux 4.15.3+soundcloud2 x86_64
Prometheus version:
v2.2.1
Logs: