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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to