Closed
Description
Hi, I have an application with multi tenant architecture using PostgreSQL Schemas with the help of Apartment gem.
Prior to 1.1.2(without Listen/Notify), Good Job processed this setup just fine.
After 1.1.2, queried jobs does not own advisory_lock. job.owns_advisory_lock returns false
.
I have limited knowledge in this area but tried to debug it for a few days without luck. However, I see that there is TODO
comment in Job.rb which is interesting.
# TODO: Determine why some records are fetched without an advisory lock at all
Can you please provide info on what is happening here or are you still in dark clouds as well regarding this?
I have created an example application here with exact same setup.
Any direction is appreciated, I can debug more 👍
Metadata
Assignees
Labels
No labels
Activity