MySQL Forums
Forum List  »  Replication

is this a code defect in calculate pending jobs size?
Posted by: jiang jiang
Date: November 03, 2014 03:32AM

version:5.6.12
variable:mts_pending_jobs_size of class Relay_log_info

in parallel mode, this variable is added/reduced in different thread

in coordinator thread:rli->mts_pending_jobs_size= new_pend_size;
in worker thread:rli->mts_pending_jobs_size -= ev->data_written;
finally when stop slave, asserting that "DBUG_ASSERT(rli->mts_pending_jobs_size == 0);"

In my opinion, this is a defact but will not lead to fatal error.

Options: ReplyQuote


Subject
Views
Written By
Posted
is this a code defect in calculate pending jobs size?
1475
November 03, 2014 03:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.