Skip to content

add lock around tail.reader to prevent race#1

Merged
danielnelson merged 1 commit intoinfluxdata:masterfrom
phemmer:lock-reader
Mar 29, 2017
Merged

add lock around tail.reader to prevent race#1
danielnelson merged 1 commit intoinfluxdata:masterfrom
phemmer:lock-reader

Conversation

@phemmer
Copy link

@phemmer phemmer commented Mar 29, 2017

Prevents a race condition on tail.reader. All the reads on this variable are protected by a lock, but the write isn't.

Ref hpcloud#114

@danielnelson danielnelson merged commit b4143c2 into influxdata:master Mar 29, 2017
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