Skip to content

Use thread-safe digest creation mechanism#483

Merged
mhenrixon merged 1 commit intomhenrixon:masterfrom
zormandi:use-thread-safe-digest
Mar 30, 2020
Merged

Use thread-safe digest creation mechanism#483
mhenrixon merged 1 commit intomhenrixon:masterfrom
zormandi:use-thread-safe-digest

Conversation

@zormandi
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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