maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #10123
[Commits] 1c9da8d: MDEV-9312: storage engine not enforced during
Hi Nirbhay,
if (IF_WSREP(thd->wsrep_applier,1))
{
plugin_thdvar_init(thd);
}
This code in commit , breaks log writing on other nodes(In galera) , It sets
the thd->variables to global system variable.
And this
if (wsrep_emulate_bin_log || !(thd->variables.option_bits & OPTION_BIN_LOG))
DBUG_RETURN(0);
code here make write_transaction_to_binlog() function exit.
I am unable to understand purpose of applying plugin_thdvar_init(thd);
for wsrep_applier threads.
Because this is applied on first thread only and not applied to
remaining threads.
--
Regards
Sachin Setiya
Software Engineer at MariaDB
Follow ups