Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7074

multi_source.simple test fails in buildbot

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0.15
    • Component/s: Tests
    • Labels:

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            I can get the identical difference by adding this artificial delay:

            === modified file 'sql/slave.cc'
            --- sql/slave.cc        2014-09-30 17:31:14 +0000
            +++ sql/slave.cc        2014-11-19 01:04:40 +0000
            @@ -3664,6 +3664,11 @@
                                         serial_rgi->trans_retries));
                   }
                 }
            +    DBUG_EXECUTE_IF("dbug.before_increment_entries",
            +                    {
            +                       my_sleep(2000000);
            +                    };);
            +
                 thread_safe_increment64(&rli->executed_entries,
                                         &slave_executed_entries_lock);
                 DBUG_RETURN(exec_res);
            

            Fixing it by adding a wait on the expected Executed_log_entries value.

            http://bazaar.launchpad.net/~maria-captains/maria/10.0/revision/4503

            Show
            elenst Elena Stepanova added a comment - I can get the identical difference by adding this artificial delay: === modified file 'sql/slave.cc' --- sql/slave.cc 2014-09-30 17:31:14 +0000 +++ sql/slave.cc 2014-11-19 01:04:40 +0000 @@ -3664,6 +3664,11 @@ serial_rgi->trans_retries)); } } + DBUG_EXECUTE_IF("dbug.before_increment_entries", + { + my_sleep(2000000); + };); + thread_safe_increment64(&rli->executed_entries, &slave_executed_entries_lock); DBUG_RETURN(exec_res); Fixing it by adding a wait on the expected Executed_log_entries value. http://bazaar.launchpad.net/~maria-captains/maria/10.0/revision/4503

              People

              • Assignee:
                elenst Elena Stepanova
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: