Bug #19384 | Incorrect behaviour if data nodes have different MaxNoOfAttributes | ||
---|---|---|---|
Submitted: | 26 Apr 2006 19:40 | Modified: | 3 Oct 2006 13:21 |
Reporter: | Serge Kozlov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 4.1 -> | OS: | Linux (Linux FC4) |
Assigned to: | david li | CPU Architecture: | Any |
[26 Apr 2006 19:40]
Serge Kozlov
[4 Aug 2006 9:07]
Jonas Oreland
1) It's not recommened behavior 2) Fix should be in DBDICT
[27 Sep 2006 1:55]
david li
I tested on version 5.1.10 and the latest 5.1 source tree, it cannot reproduce. config.ini ----------------------------- [ndbd default] NoOfReplicas= 2 [ndb_mgmd] Id=1 HostName= 127.0.0.1 DataDir=/usr/local/mysql/data [ndbd] Id= 2 HostName= 127.0.0.1 DataDir= /usr/local/mysql/data/node2 MaxNoOfAttributes = 32 [ndbd] Id= 3 HostName= 127.0.0.1 DataDir= /usr/local/mysql/data/node3 [mysqld] Id= 4 HostName= 127.0.0.1 ----------------------------- test command: on the same machine: ./load_tpcb.pl -u root -so --spath=/tmp/mysql.sock -e ndb on the other machine: ./load_tpcb.pl -ho dev3-76 -u root -so --spath=/tmp/mysql.sock -e ndb test results were the same: ********************************************* ************ Command-line values ************ ********************************************* Host ..................... dev3-76 User ..................... root Password ................. BLANK Port ..................... 3306 Use Socket To Connect .... TRUE Socket Path .............. /tmp/mysql.sock Database ................. TPCB Engine Type .............. ndb Create Tables Only ....... FALSE Program Load Data ........ TRUE Number of rows Account.... 100000 Number of rows Branches... 10000 Number of rows Teller .... 20000 Use Disk Data ............ FALSE Connected to MySQLD. Creating database! Database Created. Creating Account Table Creating Branch Table Creating Teller Table DBD::mysql::st execute failed: Can't create table 'TPCB.teller' (errno: 708) at ./load_tpcb.pl line 439. DBD::mysql::st execute failed: Can't create table 'TPCB.teller' (errno: 708) at ./load_tpcb.pl line 439.
[3 Oct 2006 13:21]
Serge Kozlov
Currently the behaviour of a cluster is correct: Errno 708 appears for case described earlier.