The code was writing to master and immediately after that reading from a replica causing it to fail intermittently. Since this is not a very high-traffic table, it should be safe to read from master always.
The code was writing to master and immediately after that reading from a replica causing it to fail intermittently. Since this is not a very high-traffic table, it should be safe to read from master always.