[MDEV-6491] MASTER_GTID_WAIT to prioirty queue parallel domain-server gtids Created: 2014-07-26  Updated: 2015-11-17  Resolved: 2014-08-11

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Daniel Black Assignee: Kristian Nielsen
Resolution: Incomplete Votes: 0
Labels: gtid


 Description   

feature request:

When MASTER_GTID_WAIT is called, it would seem that the domain-server-seq transactions should be queued on the next available parallel slave thread so it has the potential to be processed before the master_gtid_wait timout seems more likely.



 Comments   
Comment by Kristian Nielsen [ 2014-08-11 ]

> When MASTER_GTID_WAIT is called, it would seem that the domain-server-seq
> transactions should be queued on the next available parallel slave thread so
> it has the potential to be processed before the master_gtid_wait timout
> seems more likely.

Sorry, I don't understand how this would work.

Transactions are always queued in binlog order, as they are read. Normally,
all transactions will always be queued, unless the slave is lacking severely
behind the master (controlled by --slave-parallel-max-queued). And all slave
threads are always available for queueing.

Generally, in current parallel replication it is expected that the amount of
parallelism available is limited, so there does not seem to be much
opportunity for selectively prioritising certain transactions in the
scheduling.

If I've misunderstood, please reopen the bug with a clarification of what was
intended.

Thanks,

  • Kristian.
Generated at Thu Feb 08 07:12:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.