Bug #19391 IM fails to start after two executions
Submitted: 27 Apr 2006 1:03 Modified: 7 Jul 2006 20:12
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:Instance Manager Severity:S2 (Serious)
Version:5.0.21 OS:OpenServer 6, Linux PPC
Assigned to: Alexander Nozdrin CPU Architecture:Any

[27 Apr 2006 1:03] Kent Boortz
Description:
All 'index_merge' tests fails on OpenServer 6 and Linux PPC

 Could not open connection 'default': 2002 Can't connect to
 local MySQL server through socket '/tmp/<sockname>' (2)

How to repeat:
Run the 'index_merge' test cases
[28 Apr 2006 8:38] Sergey Petrunya
Kent, 
Looking at the build log I see that the first tests to fail were im_* (Instance Manager) tests (im_options_unset on pegasos3 and im_life_cycle on opensrv6c).  In both cases 
index_merge failed with error like the following:

10236: Errors are (from /home/mysqldev/pegasos3-glibc23/test/mysql-max-5.0.21-linux-powerpc-glibc23/mysql-test/var/log/mysqltest-time) :
10237: mysqltest: Could not open connection 'default': 2002 Can't connect to local MySQL server through socket '/tmp/my_build-pegasos3-glibc23/master.sock' (2)
10238: (the last lines may be the most important ones)

This failure is in no way related to index_merge functionality. In fact, index_merge test is not even executed at all (you can verify this by putting "--system touch SOMEFILE"  at the beginning of index_merge.test and seeing that file SOMEFILE will not be created during this run).
[28 Apr 2006 8:39] Sergey Petrunya
Since this bug is related to IM rather then index_merge, I ask that this bug is re-assigned to whoever is responsible for IM.
[22 May 2006 14:07] Alexander Nozdrin
The BUG#18020 has been marked as a duplicate of this bug.
[29 May 2006 11:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/6964
[29 May 2006 13:26] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/6973
[29 May 2006 13:34] Konstantin Osipov
Reviewed by email and approved with a minor note (second reviewer after Petr)
[30 May 2006 14:14] Alexander Nozdrin
Pushed into 5.0 tree, currently tagged 5.0.23.
[2 Jun 2006 14:57] Konstantin Osipov
Merged into 5.1.12
[5 Jun 2006 21:29] Mike Hillyer
Documented in changelog:

  <listitem>
        <para>
          Race conditions on certain platforms could cause the Instance
          Manager to fail to initialize. (Bug #19391)
        </para>
      </listitem>
[6 Jun 2006 11:19] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/7320
[19 Jun 2006 10:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/7836
[7 Jul 2006 20:12] Mike Hillyer
Documented in appropriate changelogs.