Commit graph

1584 commits

Author SHA1 Message Date
stewart@mysql.com
1b07fe2ef0 Add documentation about intricacies of MgmtSrvr::versionNode and ::status 2005-09-22 21:55:10 +10:00
stewart@mysql.com
0a37d0770a Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
2005-09-22 17:38:34 +10:00
jonas@perch.ndb.mysql.com
ac29fd0051 bug#13316
ndb alter table with big dicttabinfo
  send alter_tab_req fragmented as signal can get larger than MAX_MESSAGE_SIZE
2005-09-22 08:35:27 +02:00
stewart@mysql.com
c4c3e1dd27 GCC4 build fix 2005-09-22 16:35:03 +10:00
jonas@perch.ndb.mysql.com
4009307f0b ndb - fix gcc4 compile problem 2005-09-22 07:11:53 +02:00
jonas@perch.ndb.mysql.com
ed8f33f057 bug#12950
ndb backup with charsets and simultanious updates
    make sure that backup _dont_ read xfrm data
2005-09-21 17:24:39 +02:00
stewart@mysql.com
6960e0a7fd BUG#11595 ndb_mgm shows from IP for second mgmd
BUG#12037 ndb_mgmd IP address do not show in other ndb_mgmd processes

Extend ApiVersionConf to include address.
2005-09-22 00:41:46 +10:00
stewart@mysql.com
dcb3e5975b Remove old and usused configuration locking code.
Some new code that does this job is being written against 5.1. This code is
largely removed from that work.
2005-09-20 17:34:46 +10:00
jonas@perch.ndb.mysql.com
5c836e2ab7 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
2005-09-19 15:00:13 +02:00
jonas@perch.ndb.mysql.com
e358a81710 bug#9282 - ndb
big delete from causing NdbObjectIdMap::expand at same time 
  as receiver thread perform getObjectId
2005-09-19 14:05:54 +02:00
jonas@perch.ndb.mysql.com
c3d07de037 Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
2005-09-17 10:05:07 +02:00
jonas@perch.ndb.mysql.com
81013a01b1 ndb
remove extra ";" from test programs
2005-09-16 14:18:27 +02:00
jonas@eel.(none)
e899d41169 ndb
impl support for querying resource usage in ndb api
  to help track down mem leaks
2005-09-16 11:26:34 +02:00
pekka@mysql.com
af1ddc205b ndb - bug#9994 backpatch fixes from 5.0
IGNORE on merge 4.1->5.0
2005-09-15 14:48:49 +02:00
stewart@mysql.com
9dd20d7781 Merge bk-internal.mysql.com:/home/bk/mysql-4.1-mgmd
into  mysql.com:/home/stewart/Documents/MySQL/4.1/mgmd
2005-09-15 17:42:36 +10:00
stewart@mysql.com
8bb1af7aef WL#2779 ndb_size.pl
Bug reported by Adam Dixon - table name needs quoting.
2005-09-14 16:28:19 +10:00
tulin@dl145c.mysql.com
5f122007fa minor compile error fix 2005-09-13 10:03:50 +02:00
tomas@poseidon.ndb.mysql.com
696cae8506 corrected prev patch on ndb_mgmd usage of SignalSender 2005-09-13 00:22:06 +02:00
tomas@poseidon.ndb.mysql.com
a830ed3c60 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-09-12 22:53:31 +02:00
tomas@poseidon.ndb.mysql.com
f02a3f5476 adopted to corrected ndb SendSignal Node failrep 2005-09-12 22:51:44 +02:00
tulin@dl145b.mysql.com
63aef9d58b Corrected construct of faked Node fail signals in ndb SignalSender 2005-09-12 17:49:48 +02:00
tomas@poseidon.ndb.mysql.com
a8447b6a7f Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-09-12 16:08:59 +02:00
tomas@poseidon.ndb.mysql.com
42e9e67062 reengineered ndb_mgmd to use SignalSender and remove some multi user issues 2005-09-12 16:08:16 +02:00
jonas@eel.(none)
40cc9e5c42 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-09-12 14:30:52 +02:00
tulin@dl145c.mysql.com
f80e113d0e removed a few aborts from mgmapi
corrected typo in ndb Parser
2005-09-12 14:03:23 +02:00
stewart@mysql.com
ff640a0fb4 W#2776 Utility for calculating storage requirements for NDB
Initial ndb_size.pl

Connects to an existing MySQL database and produces a XHTML document containing
an estimation of storage requirements.
2005-09-12 15:54:23 +10:00
jonas@eel.(none)
1399e061dd Merge eel.(none):/home/jonas/src/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-09-09 19:02:13 +02:00
jonas@eel.(none)
6ec3fa6ac1 ndb
new testprogram testSRBank
2005-09-09 12:39:06 +02:00
pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se
43f08f752e Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into  c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug12594
2005-09-08 19:28:19 -04:00
tulin@dl145c.mysql.com
0f4bb8e6ff SignalSender.cpp:
fixed compile error
2005-09-08 19:27:37 +02:00
mronstrom@mysql.com
cd0ae9967c Merge mikael@ndb.mysql.com:/home/mikael/bug12594
into  mysql.com:/Users/mikron/mysql-4.1
2005-09-08 18:30:13 +02:00
mronstrom@mysql.com
43c2bc2f34 Bug #12594: A few fixes 2005-09-08 18:24:42 +02:00
tomas@poseidon.ndb.mysql.com
98a52fa9a4 corrected typo 2005-09-08 16:47:27 +02:00
tomas@poseidon.ndb.mysql.com
b75340e70d Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-09-08 16:44:54 +02:00
tomas@poseidon.ndb.mysql.com
a6c9ebba47 corrected printouts in backup test 2005-09-08 15:43:46 +02:00
tomas@poseidon.ndb.mysql.com
3979938c51 corrected prev fix for bug #13054
so that _only_ backup master replies to API
2005-09-08 15:24:21 +02:00
mronstrom@mysql.com
6dbca02827 Bug #12594:
Added debug info to all log page headers
2005-09-08 11:53:17 +02:00
tomas@poseidon.ndb.mysql.com
0634542458 Bug #13054 start backup command return may be interrpted 2005-09-08 11:34:55 +02:00
stewart@mysql.com
055a96814a Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main
into  mysql.com:/home/stewart/Documents/MySQL/4.1/bug11607
2005-09-08 15:06:01 +10:00
jonas@eel.(none)
1159b7591e ndb - bug#11623 - "ndb become inresponsive but did not really die"
block signals in threads making main process get all signals...
2005-09-07 14:04:36 +02:00
tomas@poseidon.ndb.mysql.com
78eaeb6d81 Modified ndb log message on startup failure 2005-09-07 12:49:11 +02:00
tulin@dl145b.mysql.com
d5d360b180 added --core-file option to ndb executables
added parseable printout in ndb_restore
2005-09-05 16:33:40 +02:00
tulin@dl145b.mysql.com
7573d04323 Bug #12992 Cluster StopOnError = Y restarts ndbd indefinitly 2005-09-05 15:14:44 +02:00
tulin@dl145b.mysql.com
c83eedc829 added timestamp to shutdown messages in ndbd 2005-09-05 09:29:28 +02:00
tulin@dl145b.mysql.com
3c6ec2a98e fixed small bug in ndb redolog printer
+ added option to dumpe rest of page after exnd of data
2005-09-05 09:13:28 +02:00
jonas@eel.(none)
4b80ed1bde ndb - fix printout related to bug#10987 2005-09-02 11:55:41 +02:00
jonas@eel.(none)
b267176708 ndb - bug#12608
Always abort if node failure occured between startTransaction and commit
  (can later be improved by wl#2610)
2005-09-02 11:50:50 +02:00
jonas@eel.(none)
3a555b999c ndb - bug #10987
make sure not to cut log to early 
  (specificly not use LCP with maxGciStarted that has not yet completed)
2005-09-02 11:47:24 +02:00
stewart@mysql.com
bfd4b626a1 BUG#11607 Incorrect error code returned on deletion
Save error on first failure.
    
At end of execute, if the current error is 4350 (transaction already aborted), restore
the original error (if there was one).
2005-09-02 19:09:20 +10:00
tomas@poseidon.ndb.mysql.com
e0f3c5c0fb Bug #12043, do not core on misconfig unless debug compiled 2005-09-01 00:13:01 +02:00
tomas@poseidon.ndb.mysql.com
29dc269678 Bug#12833 corrected parsing of CLUSTERLOG command in ndb_mgm 2005-08-31 23:56:02 +02:00
tomas@poseidon.ndb.mysql.com
ce91c0f1c8 added make of ndb sys file printer 2005-08-31 23:24:50 +02:00
tomas@poseidon.ndb.mysql.com
9a91368997 improved the ndb redo log reader 2005-08-31 23:08:58 +02:00
tomas@poseidon.ndb.mysql.com
2b11fdba34 improved error message printing on filesystem refuse signals 2005-08-31 16:15:03 +02:00
tomas@poseidon.ndb.mysql.com
b9506c2324 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-08-31 13:10:35 +02:00
tomas@poseidon.ndb.mysql.com
6b4170ab10 corrected some erroneous ndb error messages 2005-08-31 13:09:18 +02:00
jonas@eel.(none)
d61780999b Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-08-30 08:59:17 +02:00
jonas@eel.(none)
91086d663c Merge eel.(none):/home/jonas/src/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-08-30 08:57:30 +02:00
jonas@eel.(none)
4cc90aaab8 bug#12862 - ndb compile error
fix typo
2005-08-30 08:56:46 +02:00
tomas@poseidon.ndb.mysql.com
dba2e0074b Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-08-29 18:25:11 +02:00
tomas@poseidon.ndb.mysql.com
60df5fffb3 updated ndb redo file reader with schemaversion in commit rcord instead of prepare record 2005-08-29 18:23:53 +02:00
jonas@eel.(none)
c2b8f4ada3 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-08-25 13:37:55 +02:00
jonas@eel.(none)
7fe87018b4 bug#12027 - ndb
When detecting corrupt schema file.
  Make sure to close it (as it will be opened later when rewriting a clean copy)
2005-08-25 13:16:29 +02:00
tomas@poseidon.ndb.mysql.com
653e99dea2 removed ndb grep from configure .in 2005-08-23 12:16:16 +02:00
tomas@poseidon.ndb.mysql.com
28e3fe8759 enabled make of ndb_redo_log_reader 2005-08-23 11:50:24 +02:00
jonas@eel.(none)
bf835c89c2 ndb -
remove grep from Makefile
2005-08-19 10:12:44 +02:00
jonas@eel.(none)
96f719818c Merge eel.(none):/home/jonas/src/mysql-4.1
into  eel.(none):/home/jonas/src/mysql-4.1-push
2005-08-18 14:07:31 +02:00
jonas@eel.(none)
3b68047235 bug#12118 - ndb alter table data loss
Split table version into 2 (major, minor)
  Impl. signaling to API when table has been altered
  Allow running transactions to use any minor number for transactions
2005-08-18 14:02:25 +02:00
kent@mysql.com
fd4880814c Makefile.am:
config.cpp => ndb_config.cpp, solves link problems on case insensitive OS
ndb_config.cpp:
  Rename: ndb/tools/config.cpp -> ndb/tools/ndb_config.cpp
2005-08-11 13:47:24 +02:00
monty@mysql.com
30a51b5323 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/home/my/mysql-4.1
2005-08-08 13:14:29 +03:00
lenz@mysql.com
6893e5969a Portability fixes:
- Moved a few DBUG_ENTER statements after the variable declarations to satisfy some
   compilers (e.g. gcc-2.95.x, gcc-2.96, IBM xlc_r) in ndb/src/common/portlib/NdbMutex.c
   and ndb/src/common/portlib/NdbThread.c
 - portability fix for FreeBSD 4.x and HPUX: replaced atoll() with strtoll() in 
   ndb/tools/config.cpp
2005-08-03 13:46:38 +02:00
monty@mysql.com
987edeaa9b Fixed compiler warnings 2005-07-28 21:25:05 +03:00
joreland@mysql.com
ca6eb7c70a Merge mysql.com:/home/jonas/src/mysql-4.1
into  mysql.com:/home/jonas/src/mysql-4.1-push
2005-07-25 13:48:34 +02:00
joreland@mysql.com
0cd9e2e269 fix compile error 2005-07-25 13:47:40 +02:00
joreland@mysql.com
7040b3277a Merge mysql.com:/home/jonas/src/mysql-4.1
into  mysql.com:/home/jonas/src/mysql-4.1-push
2005-07-25 12:42:32 +02:00
joreland@mysql.com
07cdfdca69 ndb - Fix LCP during SR parameters 2005-07-25 12:41:25 +02:00
joreland@mysql.com
5490cdfb24 Add tool to extract config info from ndb_mgmd 2005-07-23 12:06:02 +02:00
joreland@mysql.com
5939b37f29 Merge mysql.com:/home/jonas/src/mysql-4.1
into  mysql.com:/home/jonas/src/mysql-4.1-push
2005-07-21 11:15:44 +02:00
joreland@mysql.com
a7830ed93c bug#11942 - ndb - backup during DDL
fix bug introduced in alter table
2005-07-21 11:13:07 +02:00
joreland@mysql.com
96272a6c52 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/home/jonas/src/mysql-4.1-push
2005-07-20 14:25:46 +02:00
joreland@mysql.com
07aab2139b Merge mysql.com:/home/jonas/src/mysql-4.1
into  mysql.com:/home/jonas/src/mysql-4.1-push
2005-07-20 13:32:20 +02:00
joreland@mysql.com
bb73ba0902 bug#11942 - ndb backup
fix error code to avoid clash with 5.0/5.1
2005-07-20 13:21:49 +02:00
joreland@mysql.com
884559e3bf bug#11942 - ndb backup with parallell DDL
add testcase to autotest
2005-07-20 12:39:45 +02:00
joreland@mysql.com
9f707b6734 bug#11942 2005-07-20 11:48:48 +02:00
tulin@dl145b.mysql.com
c9abae2ce2 printout of cluster config to use same tokens as documentation 2005-07-19 16:34:56 +02:00
tulin@dl145b.mysql.com
2f01676b37 ConfigInfo.cpp:
BUG#12028, cannot use default section for hostname in cluster config
  made clearer error message
2005-07-19 15:25:55 +02:00
tulin@dl145b.mysql.com
74438e6683 BUG#12028, cannot use default value for HostName in cluster config
+ added switch --print-full-config
+ removed unused REP configuration
2005-07-19 14:33:38 +02:00
tomas@poseidon.ndb.mysql.com
cd590a6a02 Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-release
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new
2005-07-15 13:32:08 +02:00
tomas@poseidon.ndb.mysql.com
ca75369663 BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener
+ added close of some fd's
      + debug prints
2005-07-15 12:40:20 +02:00
tomas@poseidon.ndb.mysql.com
c9e320019b Bug #11132, reverted bug-fix, it introduces another bug. Ndbd's may get the same nodeid
In 4.1 the connection to the management server _must_ stay, that is how we
ensure that the nodeids are reserved correctly
2005-07-15 12:35:26 +02:00
tomas@poseidon.ndb.mysql.com
da6d150453 BUG#11596 (partial fix), IP addresses not shown in ndb_mgm SHOW command on second ndb_mgmd (or on ndb_mgmd restart) 2005-07-15 10:44:54 +02:00
tomas@poseidon.ndb.mysql.com
ec52d680d2 misc (memleak) fixes:
added using ndb_end and showing mem allocation stat at exit
    added init of variable
    added destruction of LocalConfig to still memleak
    added delete of theFacade on exit
    stopSessions(true) on socket server to ensure destuction of threads
    added destruction of arbit manager thread
    added true option to stopSessions in transporter facade to ensure destructions of threads
2005-07-14 18:08:01 +02:00
tomas@poseidon.ndb.mysql.com
8afeb337f0 BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener
+ added close of some fd's
    + debug prints
2005-07-14 18:04:44 +02:00
tomas@poseidon.ndb.mysql.com
9be420ee10 stilled mem leak in usage on getVersionString
added __LINE__ so systemErrorLab for better error printout
2005-07-14 18:02:33 +02:00
tomas@poseidon.ndb.mysql.com
96a80fd220 added debug prints 2005-07-14 18:02:32 +02:00
joreland@mysql.com
fa11c5bf10 ndb -
fix bug in MemoryChannel
2005-07-04 10:18:36 +02:00
joreland@mysql.com
5ec5cde271 bug#11133 - ndb write handling
fix handling of write's in lock queue
  add test case
  add support for pkWrite+async exec in HugoOperations
2005-07-01 09:57:48 +02:00
joreland@mysql.com
544a8acad2 ndb autotest - merge jebs fixes 2005-06-30 10:10:12 +02:00
msvensson@neptunus.(none)
e929e55fb6 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-06-22 20:59:34 +02:00
mskold@mysql.com
c8398bcd2b Made upgrade compatibility in 4.1 range to latest build version 2005-06-22 11:18:40 +02:00
msvensson@neptunus.(none)
ddeaf342a7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-06-21 14:24:13 +02:00
msvensson@neptunus.(none)
73c1578f15 Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/bug10365
2005-06-20 13:08:45 +02:00
stewart@mysql.com
c4066adafd BUG#11377 Building cluster in 4.1 BK tree fails with GCC4.0 2005-06-20 15:18:53 +10:00
stewart@mysql.com
ec9eae0834 Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main
into mysql.com:/home/stewart/Documents/MySQL/4.1/bug11132
2005-06-16 21:19:40 +10:00
stewart@mysql.com
fda3561e16 BUG#11132 Connections stuck in CLOSE_WAIT
In 4.1 (it is different in 5.0), we do not use the mgm connection after fetching the
configuration (and if we did, we would have to have calls to check the connection and
reconnect if needed - in case the mgm server had restarted) so we can disconnect after
first use.

This means we won't have connections stuck in CLOSE_WAIT when the mgm server shuts down.
2005-06-15 14:58:53 +10:00
pekka@mysql.com
362a45fd34 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/export/space/pekka/ndb/version/my41
2005-06-14 04:00:37 +02:00
tulin@dl145c.mysql.com
57ddf5223f logging_ok:
Logging to logging@openlogging.org accepted
DbtcMain.cpp, testTimeout.cpp:
  Bug  #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
2005-06-13 19:45:15 +02:00
pekka@mysql.com
b5eddef181 ndb - valgrind fixes 2005-06-13 16:19:20 +02:00
joreland@mysql.com
2d64907d12 bug#10294 - ndb restore with #concurrent transactions < parallelism
Enable retry on startTransaction
2005-06-13 09:09:50 +02:00
joreland@mysql.com
77ef82cf55 ndb -
Fix mem leak in testBlobs
2005-06-10 15:13:44 +02:00
joreland@mysql.com
96789d5ecb ndb - autotest
Fix stack overflow in ndb_cpcd on amd64
2005-06-10 12:31:55 +02:00
joreland@mysql.com
decf8ed04e ndb - autotest
script fixes for solaris
2005-06-10 10:22:32 +02:00
joreland@mysql.com
a5a13ea8c8 ndb - autotest
small script fixes
  - Don't use hostname -s as it's linux specific
  - Don't remove result unless scp worked
2005-06-09 08:07:48 +02:00
joreland@mysql.com
3765bb2df9 ndb - uint overflow when running on 64-bit platform with more than 4Gb of mem
bug#10711
bug#10058
bug#9363
bug#9025
bug#8918
2005-06-09 07:49:48 +02:00
joreland@mysql.com
dc78a77206 bug#11166 - ndb
Fix potential inconsistency when running ndb_restore due to faulty parsing
    of backup log wrt inserts
2005-06-08 16:48:57 +02:00
msvensson@neptunus.(none)
8771c73258 BUG#10365 Cluster handler uses non-standard error codes
- Added better error messages when trying to open a table that can't be discovered or unpacked. The most likely cause of this is that it does not have any frm data, probably since it has been created from NdbApi or is a NDB system table.
 - Separated functionality that was in ha_create_table_from_engine into two functions. One that checks if the table exists and another one that tries to create the table from the engine.
2005-06-08 13:31:59 +02:00
joreland@mysql.com
e6dfe6aa36 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-06-07 15:25:21 +02:00
joreland@mysql.com
e697ec1c1c bug#11133 - ndb
incorrect handling of writeTuple with multi op transaction
2005-06-07 15:10:57 +02:00
stewart@mysql.com
61ff7d380a BUG#10948 NDB Replication: Race condition with ALTER/DROP table
BUG#9826  Server crash on schema change ("drop table", "alter table") with NDB

See note on 10948 for detailed explanation.

struct a { void* a; long long b[1]; };

on PPC32 (and 32bit pa risc): 16
on x86: 12

so a malloc(sizeof(void*)+extra_bits) is wrong.

Assuming that the long long is 64 bit aligned as non-aligned 64bit accesses
are rather expensive on ppc.

Thanks to paulus for doing the PPC port of valgrind.
Without which I would no doubt still be trying to find this.
2005-06-04 18:14:34 +10:00
tulin@dl145b.mysql.com
342f6d54a3 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into dl145b.mysql.com:/home/ndbdev/tomas/tmp
2005-06-02 21:25:37 +02:00
tulin@dl145b.mysql.com
72288df8fc CommandInterpreter.cpp:
Bug #11050  	ndb_mgm "show" prints incorrectly after master data node fails
2005-06-02 21:14:14 +02:00
joreland@mysql.com
61638019a3 ndb - fix broken ndb_alter_table
reinit AI len after preparing interpreted
2005-06-01 13:05:41 +02:00
joreland@mysql.com
48f5fae9ff bug#10956 - ndb - more than 7 NR --initial yields cluster failure
a node wo/ filesystem don't have any crashed replicas
  reset noCrashedReplicas in invalidate_node_lcp
2005-05-30 14:17:58 +02:00
joreland@mysql.com
9f499292b9 bug#10953 - ndb - scan read wo/ getvalue cause NF (during NR) 2005-05-30 11:55:47 +02:00
joreland@mysql.com
420ae9a452 ndb - add test case for bug ReadWithoutGetValue 2005-05-26 22:48:28 +02:00
joreland@mysql.com
bf811eb711 bug#10669 - ndb read wo/ get value
add dummy getvalue
2005-05-26 22:04:50 +02:00
msvensson@neptunus.(none)
6c00006d2c Fix icc compiler warning 2005-05-26 12:12:36 +02:00
joreland@mysql.com
9e188eaeb9 ndb - Testcase for bug#10669
--database option to hugo tools
2005-05-26 07:21:05 +02:00
joreland@mysql.com
60d3e60e27 ndb - Embryo of overload protection
Add method to query free send buffer size
2005-05-25 16:19:17 +02:00
joreland@mysql.com
5189e9dd91 ndb autotest - merge jonathans script changes 2005-05-25 11:53:58 +02:00
joreland@mysql.com
c448ab53d6 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-25 09:26:59 +02:00
joreland@mysql.com
cea14f253d ndb autotest
adopt to changes in auto*tools
2005-05-25 09:22:07 +02:00
stewart@mysql.com
119e500c80 BUG#10831 ndb mgmd LogDestination maxfiles does not rotate logs properly 2005-05-25 15:35:51 +10:00
joreland@mysql.com
6132b0a528 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-24 17:05:20 +02:00
msvensson@neptunus.(none)
548994aa7b Build fixes for icc, compile _without_ "-no-gnu" 2005-05-23 18:53:53 +02:00
pekka@mysql.com
6dbcd43224 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2005-05-18 18:05:37 +02:00
pekka@mysql.com
c054f84ae3 ndb - allow upgrade 4.1.10->4.1.12 2005-05-18 17:47:43 +02:00
tulin@dl145c.mysql.com
13bbb3dbb3 ndberror.c:
updated error message for ndb
2005-05-18 10:22:27 +02:00
joreland@mysql.com
f2edd8069f bug#10471 - ndb - potential inconsistent backup
whith some multi update scenarios

  Make sure to init GCI on correct operation before firering operation
2005-05-09 14:59:49 +02:00
joreland@mysql.com
a36b2e3953 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-09 11:04:34 +02:00
joreland@mysql.com
28814b66f4 bug#10142 - ndb unique index resource shortage
honor abort_option as TC now abort on 288
2005-05-09 11:03:07 +02:00
mskold@mysql.com
4b06c68d83 Fixes to compile with icc 2005-05-08 22:16:24 +02:00
joreland@mysql.com
a91f302097 ndb - autotest
fix name of result tar ball
2005-05-08 20:23:05 +02:00
mskold@mysql.com
cb8d2905aa bug#9813: Post review fixes 2005-05-07 22:04:52 +02:00
joreland@mysql.com
749129487e ndb - autotest
fix configs and scripts
2005-05-07 18:20:29 +02:00
joreland@mysql.com
092eea3a7a ndb - autotest
fixes
2005-05-07 13:23:38 +02:00
joreland@mysql.com
129b3d4ab9 ndb - autotest
upgrades to shell script
2005-05-07 11:53:06 +02:00
pekka@mysql.com
8ccd11182f ndb - bug#8928 2005-05-07 10:56:03 +02:00
joreland@mysql.com
46265f9ad2 ndb - autotest
fix count of nodes needed in test
2005-05-06 19:20:32 +02:00
joreland@mysql.com
44fea2872d ndb - autotest
fix to ndb-autotest.sh
2005-05-06 18:58:46 +02:00
joreland@mysql.com
80c2d9574a ndb - autotest
Add shutdown options (so far only SIGKILL), so that there won't be any strace mysqld threads
2005-05-06 17:26:22 +02:00
joreland@mysql.com
df5eedb8aa ndb - autotest
put config files in bk
2005-05-06 16:41:46 +02:00
joreland@mysql.com
df80304435 ndb - autotest
use newly created script for faster handling of several configurations
2005-05-06 16:14:30 +02:00
joreland@mysql.com
9d0c542838 ndb - autotest
update make-config script
2005-05-06 15:37:51 +02:00
joreland@mysql.com
749a1f9a2b ndb - add support for mysql servers in autotest 2005-05-06 14:44:43 +02:00
stewart@mysql.com
a17bf3f465 Bug#10193
Invalid DataDir in config causes ndbd segfault
2005-05-06 10:43:29 +02:00
joreland@mysql.com
208e534acc ndb - testNodeRestart -n LateCommit
increase no of rows so that the node failure will "guaranteed" produce an aborted transaction
2005-05-05 11:09:00 +02:00
joreland@mysql.com
4238092864 bug#10142 - ndb unique index
post review fixes
2005-05-05 10:34:39 +02:00
joreland@mysql.com
0d17895910 bug#10358 - ndb
Cluster failure with non started nodes can result in timedout transactions
2005-05-04 18:40:54 +02:00
joreland@mysql.com
86c7c4d1e2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-04 14:29:33 +02:00
tulin@dl145b.mysql.com
ccac26a27a logging_ok:
Logging to logging@openlogging.org accepted
NDBT_ResultRow.cpp, ndb_restore.test, ndb_restore.result:
  BUG#10287
2005-05-04 10:16:03 +02:00
joreland@mysql.com
7ebc32ee8b bug#10142 - ndb unhandle resource shortage in unique index code 2005-05-03 12:16:31 +02:00
mskold@mysql.com
5f9843aeee Fix for avoiding gettin Invalid schema object version when doing local changes 2005-04-27 18:17:41 +02:00
joreland@mysql.com
d6f80c436c Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-27 07:56:37 +02:00
joreland@mysql.com
280bef1845 bug#9749 - ndb lock upgrade
post review fix.
  don't init hash value on restart operations
  make sure that lock mode is correct in entire que.
2005-04-25 11:59:00 +02:00
joreland@mysql.com
12e0d4f588 ndb - autotest
add more tests to verify correctness of backups
2005-04-25 08:43:16 +02:00
joreland@mysql.com
763d835a3c bug#9924 - ndb backup
remove incorrect assertion
2005-04-25 08:35:18 +02:00
joreland@mysql.com
d9d1c933b0 bug#9924 - ndb backup - abort handling
uninit variable
2005-04-24 20:34:42 +02:00
pekka@mysql.com
6778b029e0 ndb - bug#10029 fix 2005-04-23 17:33:12 +02:00
joreland@mysql.com
cde3ff4d26 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-22 13:20:47 +02:00
joreland@mysql.com
0bfc924672 bug#9724 - ndb restart
if file already open occur print files...
2005-04-22 11:04:26 +02:00
joreland@mysql.com
bbd0aa6cc3 bug#9969 - ndb
missleading error message
2005-04-22 09:40:44 +02:00
joreland@mysql.com
e6142c477c bug#9924 - ndb backup abort handling
Redo abort handling according to descr. in Backup.txt
bug#9960 - ndb backup
      increase wait completed timeout to 48 hours
2005-04-22 09:07:25 +02:00
mskold@mysql.com
e0fe3e75c7 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
2005-04-21 09:27:20 +02:00
pekka@mysql.com
737a866faa ndb - dbug aid for api signal log 2005-04-20 16:09:00 +02:00
mskold@mysql.com
c9e68705bb Removed forgotten abort() call, bug#10001 2005-04-20 11:08:53 +02:00
joreland@mysql.com
2df2c4b895 CSC5149 - ndb test programs
Fix src distributions for benchmark prg
2005-04-19 11:17:32 +02:00
joreland@mysql.com
f931466f36 bug#9892
Make BUILDINDX RF_LOCAL aware
2005-04-18 12:41:12 +02:00
joreland@mysql.com
27f7a6c41b BUG#9891 - ndb lcp
Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer
  if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED)
  operations could lockup. 
  But would be restarted on next LCP

-- LQH
1) Better check for LCP started that will also return true
   if ACC or TUP already has completed
    
2) Remove incorrect if statement that prevented operations to
   be started if ACC has completed

-- ACC
Make sure all ACC_CONTOPCONF are sent before releasing lcp record
  i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)

Check for == 4 also when sending ACC_CONTOPCONF
2005-04-14 13:43:07 +02:00
pekka@mysql.com
768b1da09b Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/export/space/pekka/ndb/version/my41
2005-04-14 05:01:44 +02:00
mskold@mysql.com
e39ba63934 Merge 2005-04-13 14:08:54 +02:00
pekka@mysql.com
3c0a885fed ndb - bug#9865 fix error message 2005-04-13 13:40:53 +02:00
mskold@mysql.com
f5855f2d57 Fix for bug#9813: Test 'ndb_basic': Autoincrement fails in 64 bit 2005-04-13 12:42:23 +02:00
joreland@mysql.com
45a07db5c0 BUG#9749 - ndb lock upgrade - more fixes...
1) Make getNoParall into function instead of a procedure
2) Check for multiple transactions in "upgrade's" parallell queue
3) Set lock mode according to lock_owner's lockMode

NOTE: Does still not handle lock upgrade in case of aborts correctly
2005-04-13 09:54:40 +02:00
joreland@mysql.com
39e750d949 bug#9749 - ndb lock upgrade
handle more cases...
2005-04-12 17:54:34 +02:00
joreland@mysql.com
2e1e670b57 bug#9757 - ndb - post review
use DBUG_RETURN
2005-04-12 13:56:24 +02:00
joreland@mysql.com
8f0f041e64 bug#9757 - ndb
Impl. stupid mgm lock against shutting down 2 nodes simultaniously
  Add some more dump
2005-04-12 13:36:43 +02:00
joreland@mysql.com
d8a5305d0d Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-08 14:16:57 +02:00
joreland@mysql.com
72d89cc253 bug#9749 - ndb
test case for case 9749, ndb lock upgrade via NDBAPI
2005-04-08 14:15:37 +02:00
mskold@mysql.com
89b140340c Fix for Bug #9675 Auto-increment not working with INSERT..SELECT and NDB storage 2005-04-07 17:44:09 +02:00
mskold@mysql.com
934f458140 Added missing DBUG_RETURNs 2005-04-07 12:12:03 +02:00
bar@mysql.com
0134a2b286 Adding a new parameter for well_formed_length to
return error. We'll use it for better warnign reporting.
2005-04-06 11:53:15 +05:00
pekka@mysql.com
114b421c8b ndb - csc#4847 release scan op early to save memory 2005-04-05 13:14:03 +02:00
mskold@mysql.com
b5e57be56b Fixed so no merge conflict with 5.0 2005-03-31 19:18:50 +02:00
mskold@mysql.com
75a4dc9644 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
2005-03-31 14:33:51 +02:00
mskold@mysql.com
9795e7eda9 Removed warnings 2005-03-31 14:31:06 +02:00
pekka@mysql.com
10a03ce6c8 ndb - CSC#4927: ordered index + long pk, second half 2005-03-30 22:17:11 +02:00
joreland@mysql.com
f83a426cf2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-29 12:00:43 +02:00
pekka@mysql.com
a259bcebd7 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2005-03-28 22:56:40 +02:00
pekka@mysql.com
5dea61b879 ndb - set up long key page vars in ACC_LOCKREQ (bug#????) 2005-03-28 22:55:32 +02:00