I rewrote the logic such that the SELECT is run unconditionally, ie I got rid of the row_count() > 0
check and handle results in the client. The problem went away.
↧
Answer by Slawomir for Under load, the following job-queue design does not work reliably, why?
↧