You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently set up a read replica and almost everything is great. I have a backfill process that does a rawQuery so I can do a true bulk update to my pg database so it executes just one statement, but I'm getting this error now:
cannot execute UPDATE in a read-only transaction
I'm currently just using the rawQuery method. How can I force it to use the writer?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I recently set up a read replica and almost everything is great. I have a backfill process that does a rawQuery so I can do a true bulk update to my pg database so it executes just one statement, but I'm getting this error now:
cannot execute UPDATE in a read-only transaction
I'm currently just using the
rawQuery
method. How can I force it to use the writer?Beta Was this translation helpful? Give feedback.
All reactions