sonatype / nexus-ruby-support

26 stars 7 forks source link

Add synchronization on gemspec creation. Fixes deadlock. #20

Closed trhodeos closed 8 years ago

trhodeos commented 11 years ago

There was deadlock on gemspec creation for hosted repos. This should fix it.

mkristian commented 11 years ago

hmm - I did see deadlocks before that commit https://github.com/sonatype/nexus-ruby-support/commit/9034b00771c6ba6eb2ec277a739038bfe7182206 of course it does not mean that there are not any left. but a "synchronized" by itself does not prevent a deadlock - so I am not convinced. in case you are able to give me the stacktraces where you did see the deadlock that would be great.

how did you produce that deadlock anyways ? did you upload the same gem somehow at the same time ?

dbradicich commented 8 years ago

Closing issue with no activity in a few years