2 ms·
What if it's a connection problem? DBs are normally remote. It's also OK to specify potential bug surface on your API.
by thriftwy 2y ago
What if it's a connection problem? DBs are normally remote.
It's also OK to specify potential bug surface on your API.
- thwarted 2y agoThe bug being referred to isn't the connection problem, the bug is that in the event of a loss of communication with the client, the transaction isn't fully cleaned up, including the release of held locks, when the transaction enters an abortive state.
- thriftwy 2y agoIt often takes minutes to hours for a connection to be reset when one of its sides went away. So no, it's quite often that one side will get these exceptions while the other one is locked up for prolonged period of time.