graceguo-supercat commented on issue #8139: [sqllab] add retries for stop_query
URL: 
https://github.com/apache/incubator-superset/pull/8139#issuecomment-526688161
 
 
   This PR is trying to fix the errors like this:
   
   > This Session's transaction has been rolled back due to a previous 
exception during flush. To begin a new transaction with this Session, first 
issue Session.rollback(). Original exception was: 
(_mysql_exceptions.OperationalError) (1205, 'Lock wait timeout exceeded; try 
restarting transaction')[SQL: UPDATE query SET status=%s, changed_on=%s WHERE 
query.id = %s][parameters: ('stopped', datetime.datetime(2019, 8, 30, 17, 33, 
25, 363177), 4180054)](Background on this error at: http://sqlalche.me/e/e3q8) 
(Background on this error at: http://sqlalche.me/e/7s2a)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to