Hi, I am using dropwizard for an application that runs multiple instances connecting to a single database. The application is trying to read available Job from table for further processing.
I use a filed in the table to identify if the job is taken or available and if taken, which application instance holds it. For connection I use the standard Hibernate. The Issue Im facing is inconsistent reads due to which 2 instances are taking the job and processing(undesirable), I tried to debug using logs but it looks like although the Jobs are being picked few millis apart but the update to reserving the job is not committed to database. Is there some setting that I can enable to handle real time updates to DB, or Am I missing something else? -- You received this message because you are subscribed to the Google Groups "dropwizard-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-dev/01388e09-ccba-4fc7-948a-90d4ca58c687n%40googlegroups.com.