1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix(logging): MCOL-5789 Add logs on failure. (#3307)

This commit is contained in:
Denis Khalikov
2024-09-10 17:43:25 +03:00
committed by GitHub
parent ddbdb97071
commit 9e9ac32879
2 changed files with 10 additions and 2 deletions

View File

@ -1633,8 +1633,12 @@ void MasterDBRMNode::doRolledBack(ByteStream& msg, ThreadParams* p)
#endif
sm.rolledback(txnid);
}
catch (exception&)
catch (exception& ex)
{
ostringstream errStream;
errStream << "doRolledBack() failed: " << ex.what();
log(errStream.str());
reply << (uint8_t)ERR_FAILURE;
try