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
{{ message }}
This repository has been archived by the owner on May 24, 2023. It is now read-only.
Hence the Mysql recommendation contradicts the golang recommendation. I haven't found proper guidance on how to use transactions with locking in golang.
Do you have guidance (with actual example) of how to do transactions with lock tables?
Per mysql lock tables
And
Recommended to do:
But per golang transactions doc
Its recommended to:
Hence the Mysql recommendation contradicts the golang recommendation. I haven't found proper guidance on how to use transactions with locking in golang.
Do you have guidance (with actual example) of how to do transactions with lock tables?
Would that guidance be don't use transactions but use a dedicated connections?
A doc on this would be very helpful.
FWIW, my use case a standard go webapp running as a pool behind a LB. Any webapp can write to the DB, I want to ensure consistency when writing.
Seems quite standard but I'm having a surprisingly hard time finding examples of this. Any help/guidance would be much appreciated.
The text was updated successfully, but these errors were encountered: