Re: [Maria-developers] 4b164f176e6: MDEV-25114 Crash: WSREP: invalid state ROLLED_BACK (FATAL)

2021-10-10 Thread Jan Lindström
Hi Sergei, Update on what happens after TOI failure. > What I mean it, what if KILL would ignore WSREP_TO_ISOLATION_BEGIN > failure and will just proceed killing? Perhaps if > WSREP_TO_ISOLATION_BEGIN fails it means that there can be no bf aborts > anyway? Could you try to find it out? > After

Re: [Maria-developers] 4b164f176e6: MDEV-25114 Crash: WSREP: invalid state ROLLED_BACK (FATAL)

2021-10-10 Thread Jan Lindström
Hi Sergei, > > > if (victim_trx) { > > const trx_id_t victim_trx_id= victim_trx->id; > > const longlong victim_thread= thd_get_thread_id(victim_thd); > > /* This is necessary as correct mutexing order is > > lock_sys -> trx -> THD::LOCK_thd_data and below > > function