Skip to content

Put log entry at start of SQL statement interruption to make it clear that rollback is occurring #84

@prmoore77

Description

@prmoore77

We need to clearly log that a statement is being interrupted just before the ->Interrupt() method is called - here:

client_session_->connection->Interrupt();

Sometimes, the statement can take a long time to rollback (large DML / DDL (CREATE TABLE AS SELECT) statements for example) - so it appears that the statement ran longer than the query timeout setting for the server/session.

Putting a log entry before interruption will help administrators measure rollback timing more easily, and it will clearly indicate that the query timeout setting is working appropriately.

cc @tsathishkumar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions