I'm writing an infrastructure library for our mysql servers. One of scenarios I have to handle is a temporary disconnection from the mysql server.
The test scenario is start around 100000 inserts to the DB , and then stop the db and bring it back.
During this scenario I'm obiously getting ER_QUERY_INTERRUPTED error on the queries running during stop. The question is:
Can I assume something about the state of the db (like query not started) or regard this as an undefined behaiviour and drop this problem down the chain to user?