Skip to content
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

Use thread-safe digest creation mechanism #483

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

zormandi
Copy link
Contributor

We've been getting the following error intermittently (like once a month):

Digest::Base cannot be directly inherited in Ruby

It turns out that the Digest::MD5 module used for creating the unique digest for the jobs is not thread-safe. Apparently many people have been having this issue for a long time (e.g. see aws/aws-sdk-ruby#525). Using the OpenSSL module instead is reported to have solved the problem.

@mhenrixon
Copy link
Owner

Wow 😮... Who would have thunk?

Cheers for the contribution. I will get it merged and back-ported sometime today.

@mhenrixon mhenrixon self-requested a review March 29, 2020 06:55
@mhenrixon mhenrixon merged commit b345e35 into mhenrixon:master Mar 30, 2020
mhenrixon added a commit that referenced this pull request Mar 30, 2020
mhenrixon added a commit that referenced this pull request Mar 30, 2020
@mhenrixon
Copy link
Owner

Released as v6.0.21 and v7.0.0.beta14

@mhenrixon mhenrixon assigned mhenrixon and zormandi and unassigned mhenrixon Mar 30, 2020
@zormandi zormandi deleted the use-thread-safe-digest branch March 30, 2020 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants