Bug #49167 No longer possible to specify that no validators should be used

Submitted: 27 Nov 2009 15:38 Modified: 5 Oct 2010 13:19
Reporter: John Embretsen Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: Random Query Generator Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Bernt Marius Johnsen CPU Architecture:Any

[27 Nov 2009 15:38] John Embretsen
Description:
Since the introduction of new option handling in the RQG (revno 160, 2009-11-24 10:05:52), RQG behavior has changed (regression).

In the PB2 test rqg_rpl_semisync, the runall.pl option --validator was set to nothing (--validator=) to make sure no validators would be used.

Now, this no longer works. Setting --validator= results in the default validators being used.

This affects this particular test, since one of the default validators may report test failure when the slave I/O thread is stopped, which is OK in this context. See http://forge.mysql.com/wiki/RandomQueryGeneratorTests#Semisynchronous_replication

How to repeat:
See description

Suggested fix:
We need a way to specify "use no validators" via runall.pl. One solution may be to introduce an empty validator called "None" or some such.
[27 Nov 2009 15:42] Philip Stoev
I think we need --no-default-validators or a similar option. The "--validators=" syntax was not very descriptive.
[30 Nov 2009 9:00] Bernt Marius Johnsen
What about --validators=None as a syntax for specifiying no validators. Alternatively, let the default be no validators?
[30 Nov 2009 12:53] Philip Stoev
--validators=None is fine with me.

However, I would like us to retain the option to have default validators and reporters, since there are a lot of useful bug-finding checks that we can perform on each query, and the user may not know how to enable all of them.
[1 Dec 2009 7:41] Bernt Marius Johnsen
Fixed
[1 Dec 2009 7:41] Bernt Marius Johnsen
Both --validators= and --validators='' should now work
[5 Oct 2010 12:35] Bernt Marius Johnsen
is --validators=None an ok solution, and the problem considered sovled?
[5 Oct 2010 13:19] John Embretsen
Yes, --validators=None seems to work fine for me as well. I'm closing the bug.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.