summaryrefslogtreecommitdiff
path: root/wsrep-lib
diff options
context:
space:
mode:
authorsjaakola <seppo.jaakola@iki.fi>2022-01-31 18:31:47 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2022-03-18 08:30:25 +0200
commit97582f1c064443e7691720b0438e8dc2c6c14f3e (patch)
tree665703a06df89442254e1be5930f3310ac71abad /wsrep-lib
parent8e9e1c397902d3c3fdba7311c5889f9ed12a0215 (diff)
downloadmariadb-git-97582f1c064443e7691720b0438e8dc2c6c14f3e.tar.gz
MDEV-27649 PS conflict handling causing node crash
Handling BF abort for prepared statement execution so that EXECUTE processing will continue until parameter setup is complete, before BF abort bails out the statement execution. THD class has new boolean member: wsrep_delayed_BF_abort, which is set if BF abort is observed in do_command() right after reading client's packet, and if the client has sent PS execute command. In such case, the deadlock error is not returned immediately back to client, but the PS execution will be started. However, the PS execution loop, will now check if wsrep_delayed_BF_abort is set, and stop the PS execution after the type information has been assigned for the PS. With this, the PS protocol type information, which is present in the first PS EXECUTE command, is not lost even if the first PS EXECUTE command was marked to abort. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'wsrep-lib')
0 files changed, 0 insertions, 0 deletions