Skip to content

Lock the cache file while writing to prevent partial reads#246

Merged
vvuksan merged 1 commit into
ganglia:masterfrom
cddude229:lock-cache-file
Sep 9, 2014
Merged

Lock the cache file while writing to prevent partial reads#246
vvuksan merged 1 commit into
ganglia:masterfrom
cddude229:lock-cache-file

Conversation

@cddude229

Copy link
Copy Markdown
Contributor

I think the change is pretty self-explanatory. I've been running this in a production environment for a couple weeks now, so I have no reason to doubt stability. (Prior to this change, the cache would often have blank data.)

vvuksan added a commit that referenced this pull request Sep 9, 2014
Lock the cache file while writing to prevent partial reads
@vvuksan vvuksan merged commit 1bbffef into ganglia:master Sep 9, 2014
@cddude229 cddude229 deleted the lock-cache-file branch October 2, 2014 18:19
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