-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible race-condition when first using the WARC writers? #167
Comments
Thanks for reporting @anjackson. Here is a fix: #168 The issue doesn't happen if you have I was seeing the stack trace below. The problem was multiple threads trying to create the "warcs" directory at the same time. Fix was to synchronize around the directory creation.
|
Thanks @nlevitt - I'll test it ASAP but it might be a little while yet. EDIT: To anyone else hitting this, a simple workaround is to manually ensure the relevant directory already exists. |
fix for race-condition when first using the WARC writers https://gith…
Merged anyhow |
* master: ughhh appease java 8 javadoc rules fix for race-condition when first using the WARC writers #167
Most of the times I start a crawl using a recent Heritrix build, an exception gets thrown when the system first tries to write to a WARC file. e.g.
Any ideas what's going awry here? Seems like a race-condition when setting up the WARC writers?
The text was updated successfully, but these errors were encountered: