Giter Site home page Giter Site logo

Comments (32)

jeyb avatar jeyb commented on July 3, 2024

Running into the same problem with MySQL.

In addition, we are seeing Delayed::Job record not found exceptions as one job finished processing the job while the other is attempting to lock. This literally crashes the worker process.

from delayed_job_active_record.

pa657 avatar pa657 commented on July 3, 2024

Same issue.

from delayed_job_active_record.

jensblond avatar jensblond commented on July 3, 2024

+1

from delayed_job_active_record.

sirkosi avatar sirkosi commented on July 3, 2024

+1

from delayed_job_active_record.

n8gard avatar n8gard commented on July 3, 2024

Ah. That explains a lot.

+1

Same issue and my app is presently very lightly loaded: 2 workers and 4-5 jobs/sec.

On Mar 6, 2013, at 12:58 PM, Aguilar [email protected] wrote:

Same issue.


Reply to this email directly or view it on GitHub.

from delayed_job_active_record.

martoche avatar martoche commented on July 3, 2024

+1

from delayed_job_active_record.

n8gard avatar n8gard commented on July 3, 2024

I've already +1'd this but have a question.

We are building an application at my company and are delivering and demoing a prototype next week to management. Is this going to be fixed? If not, can anyone suggest what alternative solution I should rapidly swap out to? I have been having workers crash in testing and believe it to be this issue.

I need to demonstrate background data processing early next week and can't have workers crashing. Until I noticed this thread, I've been blaming it on my EC2 instances and pulling my hair out. :)

Thanks all.

N
On Mar 11, 2013, at 4:47 AM, Martin Ottenwaelter [email protected] wrote:

+1


Reply to this email directly or view it on GitHub.

from delayed_job_active_record.

maletor avatar maletor commented on July 3, 2024

Lock the dependency at 0.4.1.

On Monday, March 11, 2013, njnorrgard wrote:

I've already +1'd this but have a question.

We are building an application at my company and are delivering and
demoing a prototype next week to management. Is this going to be fixed? If
not, can anyone suggest what alternative solution I should rapidly swap out
to? I have been having workers crash in testing and believe it to be this
issue.

I need to demonstrate background data processing early next week and can't
have workers crashing. Until I noticed this thread, I've been blaming it on
my EC2 instances and pulling my hair out. :)

Thanks all.

N
On Mar 11, 2013, at 4:47 AM, Martin Ottenwaelter <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>
wrote:

+1


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-14721097
.

from delayed_job_active_record.

KieranP avatar KieranP commented on July 3, 2024

Bump. This is a fairly important issue that needs to be fixed ASAP because it can lead to all sorts of havoc, such as email users multiple times for the same thing (think credit card payment notifications being sent out 3-5 times!).

from delayed_job_active_record.

fionaom avatar fionaom commented on July 3, 2024

+1

from delayed_job_active_record.

kwent avatar kwent commented on July 3, 2024

+1 !

from delayed_job_active_record.

snusmu avatar snusmu commented on July 3, 2024

+1474

thats the amount of dj's created overnight after we updated dj_ar to 0.4.2

from delayed_job_active_record.

 avatar commented on July 3, 2024

+1

So the fix is to lock the version to 0.4.1 in the Gemfile?
If I do "gem list" I don't even see delayed_job_active_record, so not sure how I can uninstall the 0.4.3 version.

from delayed_job_active_record.

brupm avatar brupm commented on July 3, 2024

+1

from delayed_job_active_record.

 avatar commented on July 3, 2024

+1

from delayed_job_active_record.

Cr1stal avatar Cr1stal commented on July 3, 2024

+1

from delayed_job_active_record.

donbobka avatar donbobka commented on July 3, 2024

+1

from delayed_job_active_record.

pashpashkin avatar pashpashkin commented on July 3, 2024

+1

from delayed_job_active_record.

andrey-lizunov avatar andrey-lizunov commented on July 3, 2024

+1

from delayed_job_active_record.

mmoldavan avatar mmoldavan commented on July 3, 2024

+1

from delayed_job_active_record.

gaffneyc avatar gaffneyc commented on July 3, 2024

Would someone be willing to put together a pull request to fix this?

from delayed_job_active_record.

martoche avatar martoche commented on July 3, 2024

See my conversation on Twitter with @sferik: https://twitter.com/martoche/status/317284063134228480

from delayed_job_active_record.

gaffneyc avatar gaffneyc commented on July 3, 2024

@martoche Understandable that you don't feel comfortable enough with the codebase to make a pull request. And it really sucks that this has been outstanding as long as it has been.

That said... if anyone following this ticket is willing to do the work to revert those commits and make a pull request we can likely get a new gem cut today and the old one yanked. At the very least we'll get the bad gem yanked today.

from delayed_job_active_record.

gaffneyc avatar gaffneyc commented on July 3, 2024

And can anyone confirm that this was introduced in 0.4.2?

from delayed_job_active_record.

sferik avatar sferik commented on July 3, 2024

I'm sorry it has taken so long for me to get to this issue. I’ve merged @albus522’s patch into master and cherry-picked the relevant changes into the 0-4-stable branch.

Can someone please confirm the fix by replacing the delayed_job_active_record line in their Gemfile with:

gem 'delayed_job_active_record', :git => 'git://github.com/collectiveidea/delayed_job_active_record.git', :branch => '0-4-stable' # or 'master' for Rails 4

After this fix is confirmed, I will release gem versions 0.4.4 and 4.0.0.beta2. Unless the patch introduces new issues, these gems should be released later today.

from delayed_job_active_record.

martoche avatar martoche commented on July 3, 2024

There's no way to test this? I don't feel confortable with pushing this in production to test it.

from delayed_job_active_record.

sferik avatar sferik commented on July 3, 2024

I've released gem versions 0.4.4 and 4.0.0.beta2.

from delayed_job_active_record.

justincampbell avatar justincampbell commented on July 3, 2024

This is fixed for me in 4.0.0.beta2

Thanks!

from delayed_job_active_record.

jamsi avatar jamsi commented on July 3, 2024

Adding this to my Gemfile + bundle install fixed the issue for me.

gem 'delayed_job_active_record', '0.4.1'

from delayed_job_active_record.

sferik avatar sferik commented on July 3, 2024

@jamsi Can you please try version 0.4.4 (released this morning) and let me know if that works for you?

from delayed_job_active_record.

kwent avatar kwent commented on July 3, 2024

Seems OK with 0.4.4 for me. Thanks !

from delayed_job_active_record.

jamsi avatar jamsi commented on July 3, 2024

@sferik 0.4.4 seems to be ok too. I'm just glad I caught this before I pushed to production. It's a hard thing for rspec to pickup =\

Many thanks.

from delayed_job_active_record.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.