Bug #58692 Misleading error message when exceeding Ndb objects max transactions

Submitted: 3 Dec 2010 10:08 Modified: 3 Dec 2010 10:08
Reporter: Hartmut Holzgraefe Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: NDB API Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: ALL, mysql-cluster-7.1

[3 Dec 2010 10:08] Hartmut Holzgraefe
Description:
When exceeding the number of transactions set up on an Ndb object with Ndb::init(...) the error message suggests to increase MaxNoOfConcurrentTransactions on the data node side even though the actual limit being hit was on the NDBAPI client side.

How to repeat:
Create an Ndb object, optionally setting the max number of parallel transactions to more than the default of 4 using the Ndb::init() method, then create new transactions in a loop without closing them. This will quickly lead to a failuer with error code 4006 and error message:

  Connect failure - out of connection objects (increase MaxNoOfConcurrentTransactions) 

Suggested fix:
Either introduce a new error code to be able to distinguish between local (NDBAPI) and remote (data node) problems, or reword the error message to mention both possible failure reasons

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

Page generated in 0.040 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.