Re: MySQLQueryInterruptedException while no one killed the query
Posted by: Nikolay Karasev
Date: October 08, 2014 10:00AM

Thanks Todd.

I am not going to speculate more here, it is apparent that what we have is already explained by race conditions - I remember seeing this before, so I am good with the root cause.

Here is one question though: exception com.mysql.jdbc.exceptions.MySQLStatementCancelledException is something that we were expecting when we cancel query from another thread. Was this replaced by MySQLQueryInterruptedException or something? If yes, we just need to add that exception to "known errors" list and code around it accordingly. Is there something more generic that tells if a query was in fact interrupted? I would not want adding more exceptions to handler if the exceptions are to be changing in the future.


Nikolay

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.