You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
close db connection just after executing a "no return" procedure with long run time ( ~3s, aggregating data and update the summary table), will cause procedure rollback
Failed
conn=connections[...]
withconn.cursor() ascursor:
cursor.execute("exec LongTimeProcedure")
conn.close() # auto call by celery, can't remove
Hi @Pandaaaa906, I believe this is expected behaviour. If the connection is closed before a procedure is finished, it should roll back to maintain data integrity.
Software versions
close db connection just after executing a "no return" procedure with long run time ( ~3s, aggregating data and update the summary table), will cause procedure rollback
Failed
Success
The text was updated successfully, but these errors were encountered: