Bug #43983 Support force restart of all servers after test ended
Submitted: 31 Mar 2009 11:58 Modified: 29 May 2009 1:10
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S4 (Feature request)
Version:5.1 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any

[31 Mar 2009 11:58] Magnus Blåudd
Description:
Some tests need to modify the server(s) so much that a total restart of all servers are necessary after test. It should be possible for a test to signal it want mtr.pl to restart all servers.

How to repeat:
-

Suggested fix:
1. Add stored procedure to mtr database that a .test can call if it want to activate this feature.
2. Make mtr.pl check the flag set by the above stored procedure.
[31 Mar 2009 13:11] Bjørn Munch
Looks good.  You might add a last; after setting restart=1 as there's no point in continuing.  Also, you probably don't actually need to unlink the force_restart file since the datadir will be wiped anyway, won't it?
[31 Mar 2009 13:40] 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/70902

2756 Magnus Svensson	2009-03-31
      Bug#43983 Support force restart of all servers after test ended
       - Some tests need to modify the server(s) so much that a total restart of all servers are
         necessary after test. Make it possible for a test to signal it want mtr.pl to restart
         all servers.
[31 Mar 2009 14:12] Bugs System
Pushed into 5.1.32-ndb-7.0.5 (revid:msvensson@mysql.com-20090331141046-f3h23c37xcfpj51t) (version source revid:msvensson@mysql.com-20090331134130-skc4c3t0m5kyltbk) (merge vers: 5.1.32-ndb-7.0.5) (pib:6)
[31 Mar 2009 14:24] Magnus Blåudd
Pushed to 5.1-mtr, 6.0-mtr and 5.1-telco-7.0
[1 Apr 2009 9:01] 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/71017
[1 Apr 2009 9:15] Magnus Blåudd
Additional patch for fixing funcs_1.is_routines pushed to 5.1-mtr and 6.0-mtr. Filed bug#44010 about the different result from information_schema.is_routines between 5.1 and 6.0
[1 Apr 2009 9:35] 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/71030
[14 May 2009 16:26] Bugs System
Pushed into 6.0.12-alpha (revid:alik@sun.com-20090514161729-xiup7q8jlu1zfy7s) (version source revid:magnus.blaudd@sun.com-20090401093716-fmf8q0kvkztjnvve) (merge vers: 6.0.11-alpha) (pib:6)
[15 May 2009 1:23] Paul DuBois
Test suite changes. No changelog entry needed.

Setting report to NDI pending push into 5.1.x.
[28 May 2009 8:15] Bugs System
Pushed into 5.1.36 (revid:joro@sun.com-20090528073639-yohsb4q1jzg7ycws) (version source revid:bjorn.munch@sun.com-20090525205831-zitq9aysxy5zgf5r) (merge vers: 5.1.36) (pib:6)
[29 May 2009 1:10] Paul DuBois
Test suite change. No changelog entry needed.
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48] Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:32] Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)