← Back to team overview

maria-developers team mailing list archive

Re: The funcation of retry_transaction in parallen replication

 

Hi,

Do you have a test case (or sequence of SQL statements you could provide in
email)? Your email is a bit hard to follow, but this sounds interesting.

Regards,

Jeremy


On Thu, Jul 11, 2013 at 11:51 PM, nanyi607rao <nanyi607rao@xxxxxxxxx> wrote:

> **
> **
> hi,
>   In order to test  "retry_transaction" in function
> execute_single_transaction(), I change Relay_log_pos to make SQL thread
> insert Duplicate entry, but I find it successed and do not report error!
>
>   so I debug the function execute_single_transaction() and find the
> reason : at first time, the insert Rows_log_event::do_apply_event() return
> 121, that means insert fails. But when retry the insert
> Rows_log_event::do_apply_event(),it return 0, that means insert success! it
> seems the Rows_log_event::do_apply_event() do twice, but return different
> results. how this happened? is it a bug of Rows_log_event::do_apply_event()
> ?
>
>   By the way, I do this test in mysql-5.5.30, do mariaDB has the some
> problem?
>
>
> 2013-07-12
> ------------------------------
>  nanyi607rao
> **
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-developers
> Post to     : maria-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References