Open naihil opened 7 years ago
@naihil Thank you for reporting this issue.
I have some follow up questions that might help someone triage this issue as serious or "expected behavior when handling user-cancelled queries" (from a connection handling perspective).
Hello!
I found undefined behavior when your connection of pg-mysql is bad. Sometimes pg raise error "Lost connection to MySQL server during query", but sometimes not.
How to reproduce:
Successfull query:
Query killed in mysql while its state is active (expected behavior):
Query killed in mysql while its state is sleep and some data inserts into pg table (unexpected behavior):
As a result we insert only small part of rows (398536 of 8718806) without any error that connection is lost.