Commit Graph

9 Commits

Author SHA1 Message Date
Sveta Smirnova
8cbb5a0c8f PT-2340 - Support MySQL 8.4
- Removed lib/Percona/Test.pm, lib/Safeguards.pm, t/lib/Safeguards.t, because they are not used anymore
- Removed word "slave" from lib
2024-07-26 13:31:22 +03:00
Carlos Salguero
8c0d92facb PT-96 Skipped failing tests for ReplicaLagWaiter.t 2017-03-09 15:37:34 -03:00
Daniel Nichter
1b95fee620 Pass file to OptionParser->new() in tests so OptionParser::get_vars() works. 2013-03-02 13:10:28 -07:00
Daniel Nichter
f7e07493f6 Don't set innodb_lock_wait_timeout in tests because it generates a warning on 5.0 and 5.1 that the tests don't suppress. 2013-03-02 13:05:26 -07:00
Daniel Nichter
9e9024d508 Fix more tests for set-vars. 2013-03-02 12:17:12 -07:00
Daniel Nichter
c4db7c0633 Test and fix very small --chunk-time. Report immediately when a slave is stopped. Add short form -q for --quiet. Report very slow checksums once for each table. Use Cxn::name() instead of Cxn::dsn()->{n}; remove n from DSNParser; make cxn's name @@hostname by default, else stringified DSN parts. 2011-10-19 11:27:19 -06:00
Daniel Nichter
b2f92391a7 Fatal error if slave dies. Make Cxn::connect() if dbh id dead. Sort slave lag properly and use Cxn instead of dbh in ReplicaLagWaiter. Check master cxn before keepalive. Sleep N+0.25 waiting for chunks. 2011-10-10 10:56:08 -06:00
Daniel Nichter
e2e40488c5 Add Cxn.pm. Make MasterSlave, NibbleIterator, and ReplicaLagWaiter use Cxn. Rewrite, simplify Retry. 2011-10-06 12:47:35 -06:00
Daniel Nichter
f6fb8b44bd Decompose ReplicaLagLimiter into ReplicaLagWaiter and WeightedAvgRate. Don't use OptionParser in NibbleIterator; use chunk_size arg instead. 2011-09-21 11:19:49 -06:00