Rosa Gutierrez

Results 418 comments of Rosa Gutierrez

Oops, so sorry @byroot, I completely missed this mention back in September! 😳🤦🏻‍♀️ Yes, it'd be really nice to upstream this. Happy to propose something and then make Solid Queue...

Without logs or any other information (e.g. was the job waiting in the queue to be picked? Was it picked up right away but did it take that long to...

> As per our understanding, the second job should have started immediately. That's right. The first job should have unblocked the second job [here](https://github.com/rails/solid_queue/blob/019d7c7de42c10e5f2e86ab4aa771816c735f947/app/models/solid_queue/claimed_execution.rb#L70) 🤔 Would it be possible for...

I think you could try `SolidQueue::Semaphore` and `SolidQueue::BlockedExecution`. I think any clues would involve any of those records.

Ohhhh, this is super useful, @leondmello! I think I know what's going on, thanks to your logs. Looks like a tricky race condition. Basically, what happens is that your first...

@leondmello, no, no worries about that. I meant the transaction isolation level in your DB (I imagined you're using PostgreSQL because of the logs), but thinking more about it, it...

Thinking more about this and how to fix... Claiming the semaphore + enqueuing the job happens in a transaction, but the semaphore is not locked if it exists because [it's...

Hey @leondmello, unfortunately not 😞 I've got an idea that might work, but I haven't been able to test it carefully as I think it's going to cause problems under...