[MDEV-7074] multi_source.simple test fails in buildbot Created: 2014-11-11  Updated: 2014-11-19  Resolved: 2014-11-19

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0
Fix Version/s: 10.0.15

Type: Bug Priority: Critical
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Fixed Votes: 0
Labels: buildbot, tests

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

http://buildbot.askmonty.org/buildbot/builders/bld-dan-release/builds/1807/steps/test_1/logs/stdio



 Comments   
Comment by Elena Stepanova [ 2014-11-19 ]

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

Generated at Thu Feb 08 07:16:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.