← Back to team overview

maria-developers team mailing list archive

Re: Obsolete GTID domain delete on master (MDEV-12012, MDEV-11969)

 

andrei.elkin@xxxxxxxxxx writes:

> Then a function to discard a domain term would do:
>
>  SET @@gtid_binlog_state=gtid_discard_domain(@@gtid_binlog_state,'d')
>
> While this time it would be new object introduced still it's of var
> setting semantics and might be generally useful too.

I'm not sure I understand.
Would this function magically lock the binlog until the SET
gtid_binlog_state completes, to solve the race?

Or just a convenience for the user to not have to do the string replace
operation manually?

 - Kristian.


Follow ups

References