Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

#16 Remove fs.exists check for reopen #17

Merged
merged 1 commit into from Oct 9, 2012

Conversation

Projects
None yet
2 participants

When running multiple processes that are writing to the same log
(not clustered), there is a race condition where the first process
to handle the signal will reopen the file handle (creating the
file), and all other processes will ignore the request because the
file already exists. This fixes that issue.

Fix #16 - Remove the fs.exists check for handling USR2 signals
When running multiple processes that are writing to the same log
(not clustered), there is a race condition where the first process
to handle the signal will reopen the file handle (creating the
file), and all other processes will ignore the request because the
file already exists.  This fixes that issue.

bpaquet pushed a commit that referenced this pull request Oct 9, 2012

Merge pull request #17 from mratzloff/master
#16 Remove fs.exists check for reopen

@bpaquet bpaquet merged commit cce764b into bpaquet:master Oct 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment