Commit graph

100 commits

Author SHA1 Message Date
joreland@mysql.com
f2f36ea64f Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-5.0
2005-03-10 08:26:14 +01:00
joreland@mysql.com
364b3b7b9b bug#9089
ndb - Reenable MAX_OPEN_FILES to enable LCP in some situations
2005-03-10 07:45:17 +01:00
stewart@mysql.com
f2856134bf Add ndb/src/mgmapi/mgmapi_internal.h
move internal mgmapi functions into it.

should also fix AIX build problem.
2005-03-03 19:49:58 +11:00
stewart@mysql.com
336f4cc808 Fixes for: use initial mgm connection as transporter connection 2005-02-24 17:57:22 +11:00
stewart@mysql.com
e88eba65a7 Use the mgm connection used for fetching configuration as a transporter. 2005-02-23 21:07:22 +11:00
tomas@poseidon.ndb.mysql.com
6e51577b52 Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-wl2278
2005-02-17 09:37:07 +01:00
tomas@poseidon.ndb.mysql.com
7b2f7b43c5 Merge 2005-02-17 07:05:00 +01:00
tomas@poseidon.ndb.mysql.com
334d92db03 reuse nodeid if ndbd is restarted 2005-02-16 20:46:34 +01:00
stewart@mysql.com
6d12f23047 Don't ask mgm server for port to connect transporter to if we already have one; only ask if connect fails.
Reconnect to mgm server in connect_clients thread if m_mgm_handle is disconnected.
2005-02-15 18:30:44 +11:00
stewart@mysql.com
196def91b3 WL2278 Dynamic ports - Impl 6, "deal with mgm server restart and multiple mgm servers"
- when connecting to a mgm server as a transporter, create a NdbMgmHandle
  - over this mgm handle, report the dynamic ports
  - then turn it into a transporter
- this will re-report dynamic ports to mgmds when they restart (as we'll have to
set up our transporter again). This will also report it to all mgmds (as we'll
have transporters to all of them).
2005-02-11 15:43:43 +11:00
stewart@mysql.com
0b24883ee4 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl5
2005-02-01 11:45:05 +11:00
joreland@mysql.com
97a778d88a Merge mysql.com:/home/jonas/src/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0-ndb
2005-01-28 08:11:56 +01:00
tomas@poseidon.ndb.mysql.com
e8090fc224 Merge 2005-01-28 00:47:41 +01:00
tomas@poseidon.ndb.mysql.com
732d1a5e81 Bug#8167 signal usage clash between mysql server and ndb shared memory
added shared memory config parameter, signum for use in signalling
    added global variable for holdign signum to be used for shared memory connection
    only fiddle with signals if it is set
    simplified common ndb client option handling
2005-01-28 00:42:41 +01:00
tomas@poseidon.ndb.mysql.com
1a94812b7b updated logevent example
added handling of Arbit log events
2005-01-25 13:08:21 +01:00
stewart@mysql.com
c1c282e564 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl4
2005-01-21 19:38:17 +11:00
tomas@poseidon.ndb.mysql.com
0a857aca57 WL#2299, structured log events 2005-01-19 08:14:52 +01:00
stewart@mysql.com
c71278bda9 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl3
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl4
2005-01-12 18:41:00 +11:00
stewart@mysql.com
ac28b470ee Impl4 of WL2278 - Dynamic port allocation of cluster nodes
When a node restarts it starts over again with fetching the configuration
-  It is not sure that it can use the "old dynamically allocated port number" again.
-  It should however try to reuse the old one, if not possible it should
allocate a new one. One has to be able to distinguish between portnumbers
specified originally in the config, and ones that has been dynamically added
(the latter may be changed if "busy", but the first cannot be changed).

We use negative portnumbers for ports that are ok to change.
2005-01-12 18:13:54 +11:00
tomas@poseidon.ndb.mysql.com
3577dbe3ff removed getBaseTable, was wrong and will not work 2005-01-11 18:32:02 +01:00
tomas@poseidon.ndb.mysql.com
d42f92d294 fixed a number of doxygen warnings 2005-01-10 01:25:20 +01:00
tomas@poseidon.ndb.mysql.com
af1dfd74e1 Merge 2005-01-09 23:19:07 +01:00
tomas@poseidon.ndb.mysql.com
06216f6a73 updated ndb_mgm test
removed grep event and added congestion event
   more docs
    changed some naming, expecially regarding severities
    added config param for logevel for congestion
2005-01-09 23:02:06 +01:00
jon@gigan.
65e96e5272 Documentation edits/fixes/cleanup for Alcatel docs. 2005-01-10 02:39:36 +10:00
tomas@poseidon.ndb.mysql.com
98c3fa6643 added example of mgmapi usage
moved get_configuration to doxygen internal since the "iterators" are not documented
2005-01-09 14:31:54 +01:00
tomas@poseidon.ndb.mysql.com
73401e0f62 added some doxygen docs
removed unused error codes
2005-01-09 10:47:47 +01:00
tomas@poseidon.ndb.mysql.com
4f829039d3 updated some mgmapi docs 2005-01-09 00:45:05 +01:00
tomas@poseidon.ndb.mysql.com
d9c5c048ab fixed some mgmapi docs
added example to ndbapi docs
2005-01-08 18:25:41 +01:00
joreland@mysql.com
e4197f2e4f merge 2004-12-31 10:21:33 +01:00
joreland@mysql.com
8f2d0ec1a1 merge 2004-12-31 06:36:32 +01:00
stewart@mysql.com
d737ba981e Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl2
2004-12-30 11:59:23 +11:00
stewart@mysql.com
b42337bb68 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
2004-12-30 11:56:55 +11:00
jon@gigan.
f2596861c3 Got rid of <code> tags in doxygen comments for mgmapi.h
and ndbapi.hpp as they look like crap when converted 
to PDF.
2004-12-30 00:44:59 +10:00
stewart@mysql.com
0b82949b6e Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl2
2004-12-29 10:23:49 +11:00
stewart@mysql.com
6817a8e6bb Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
2004-12-29 10:20:46 +11:00
jon@gigan.
b8ce3833a7 mgmapi.h, Ndb.hpp: Various fixes in Doxygen comments 2004-12-28 04:27:51 +10:00
jon@gigan.
a4ee32c4cb mgmapi.h: Trying the HTML formatting commands for Doxygen again... 2004-12-28 02:40:25 +10:00
jon@gigan.
66aef95b17 Removing HTML formatting from mgmapi.h to see
if this is causing the failure with perl and 
doxygen...
2004-12-28 02:20:57 +10:00
jon@gigan.
d146e812b8 Testing formatting commands for Doxygen (in mgmapi.h). 2004-12-28 02:12:06 +10:00
jon@gigan.
937190d3fb For generated NDB documentation:
Some grammar/spelling fixes in mgmapi.h; 
also some tests of formatting commands.
2004-12-28 01:39:03 +10:00
stewart@mysql.com
a8d3e0339b Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl2
2004-12-24 12:22:30 +11:00
stewart@mysql.com
749db4d4d3 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
2004-12-24 12:18:21 +11:00
tomas@poseidon.ndb.mysql.com
89c037b2a9 backwards compatible name change NdbConnectionto NdbTransaction
removed friend declarations from doxygen
updated some documentation in mgmapi
2004-12-23 11:21:01 +01:00
stewart@mysql.com
dc103d9418 Impl 2 of WL2278 - Dynamic port allocation of cluster nodes.
In "client connect thread", let the client read the port to connect to using
ndb_mgm_get_connection_int_parameter.

The request for the port is resent on every connect attempt.
2004-12-23 16:23:32 +11:00
tomas@poseidon.ndb.mysql.com
7b47be8990 added config parameter Group on connection
moved NdbWaiter, m_ndb_cluster_connection, to impl class
    moved node selection things to cluster connection
    moved all private things to impl class
    added opts for shared memory and node selection
    changed opts handling somewhat; introduced enum for options and common handling of option variables
    added checks for transporter support
    automatic addition of shared mem transporters
    moved wait_until_ready code to cluster connection
    added control of usage of new node selection method
2004-12-20 12:36:14 +01:00
stewart@mysql.com
a7608be233 Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-ports-impl2
2004-12-20 12:31:45 +11:00
stewart@mysql.com
4382caa0fb Part 1 of impl2 of WL2278 (Dynamic port allocation of cluster nodes).
Implementation of "get connection parameter" mgmd call for getting from mgmd what port to use for a connection between two nodes.

(The actual use of this function is not yet implemented)
2004-12-20 12:24:40 +11:00
stewart@mysql.com
6cd660dc1a Merge 5.0-ndb into local, resolve conflicts 2004-12-20 11:32:08 +11:00
joreland@mysql.com
cfa20fbaa6 merge 2004-12-17 10:36:14 +01:00
joreland@mysql.com
5fe332db5e merge 2004-12-16 22:42:27 +01:00