mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.6' into 10.11
This commit is contained in:
@@ -2262,7 +2262,7 @@ delete_or_keep_event_post_apply(rpl_group_info *rgi,
|
||||
}
|
||||
|
||||
|
||||
void rpl_group_info::cleanup_context(THD *thd, bool error)
|
||||
void rpl_group_info::cleanup_context(THD *thd, bool error, bool keep_domain_owner)
|
||||
{
|
||||
DBUG_ENTER("rpl_group_info::cleanup_context");
|
||||
DBUG_PRINT("enter", ("error: %d", (int) error));
|
||||
@@ -2317,7 +2317,7 @@ void rpl_group_info::cleanup_context(THD *thd, bool error)
|
||||
Ensure we always release the domain for others to process, when using
|
||||
--gtid-ignore-duplicates.
|
||||
*/
|
||||
if (gtid_ignore_duplicate_state != GTID_DUPLICATE_NULL)
|
||||
if (gtid_ignore_duplicate_state != GTID_DUPLICATE_NULL && !keep_domain_owner)
|
||||
rpl_global_gtid_slave_state->release_domain_owner(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user