| Bug #27979 | Running sysbench (0.4.8) against NDB Cluster causes error 4350 | ||
|---|---|---|---|
| Submitted: | 20 Apr 2007 13:52 | Modified: | 26 Apr 2007 20:48 |
| Reporter: | Peter Welker | ||
| Status: | Verified | ||
| Category: | Server: Cluster | Severity: | S3 (Non-critical) |
| Version: | mysql-5.1 | OS: | Linux (SLES10) |
| Assigned to: | Target Version: | CGE | |
| Tags: | 5.1.17 | ||
| Triage: | Triaged: D3 (Medium) | ||
[20 Apr 2007 13:52]
Peter Welker
[24 Apr 2007 14:42]
Sveta Smirnova
Thank you for the report. Verified as described.
[8 Jun 2007 5:33]
Jonathan Miller
Hi,
I was watching push build today due to pushing in test changes I noticed that
rpl_ndb_mix_innodb.test has been failing for a while now. The test fails with "could not
sync with master ('select master_pos_wait('master-bin.000001', 228163)' returned NULL)"
Looking at it, the cause of the slave not syncing was due to the slave failing with:
070607 22:13:52 [ERROR] Slave: Error in Update_rows event: row application failed,
Error_code: 0
070607 22:13:52 [ERROR] Slave: Error in Update_rows event: error during transaction
execution on table tpcb.branch, Error_code: 1105
070607 22:13:52 [Warning] Slave: Got error 4350 'Transaction already aborted' from NDB
Error_code: 1296
070607 22:13:52 [Warning] Slave: Unknown error Error_code: 1105
070607 22:13:52 [Warning] Slave: Unknown error Error_code: 1105
[23 Oct 2007 20:57]
Artem Russakovskii
I am experiencing the same errors with 5.1.22rc on a 4 node ndbcluster. Here's the test config: sysbench --max-requests=1000 --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test --mysql-host='HOST' --num-threads=100 run Doing OLTP test. Running mixed OLTP test Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases) Using "BEGIN" for starting transactions Using auto_inc on the id column Maximum number of requests for OLTP test is limited to 1000 Threads started! ALERT: failed to execute MySQL query: `BEGIN`: ALERT: Error 1296 Got error 4350 'Transaction already aborted' from NDBCLUSTER FATAL: database error, exiting... ALERT: failed to execute MySQL query: `BEGIN`: ALERT: Error 1296 Got error 4350 'Transaction already aborted' from NDBCLUSTER FATAL: database error, exiting... [...] Done. If I lower num-threads to, let's say, 10, it passes, but is also 3 times slower than doing the same test on an innodb table.
