NeonN
Neon2y ago
4 replies
wet-aqua

readonly replica is returning data thats 5 hours old

we have a RW compute and RO compute. we are using nextjs + prisma deployed on vercel. noticed a few errors of records not being found. Narrowed it down to the RO replica not returning data we did a couple of checks and it was only returning data from 5 hours ago. our understanding is that it should read from the same source as the RW so there should be no lag?
we are using prismas extends ".$extends(
readReplicas({
url: process.env.RO_REPLICA,
})
);"
Was this page helpful?