Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

fix race for minValidTime #479

Merged

Conversation

krasi-georgiev
Copy link
Contributor

it happens when truncating the WAL and another goroutine creates a new
Appender()

can be replicated with

go test -benchmem -run=^$ github.com/prometheus/prometheus/promql -bench . -v --race

Signed-off-by: Krasi Georgiev [email protected]

it happens when truncating the WAL and another goroutine creates a new
Appender()

Signed-off-by: Krasi Georgiev <[email protected]>
@brian-brazil
Copy link
Contributor

👍

@krasi-georgiev krasi-georgiev merged commit 79869d9 into prometheus-junkyard:master Dec 14, 2018
@krasi-georgiev krasi-georgiev deleted the race-minValidTime branch December 14, 2018 11:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants