Commit graph

55 commits

Author SHA1 Message Date
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
tomas@poseidon.ndb.mysql.com
0a857aca57 WL#2299, structured log events 2005-01-19 08:14:52 +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
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
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
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
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
tomas@poseidon.ndb.mysql.com
afa5a6a7bf fix bug#7193
added start backup parameter to enable setting wait state
    and set different timeouts depending on waitstate
    moved listen of backup event out of backup and into separete thread
    thread created at connect() and destroyed at disconnect()
    added start backup command options "nowait" "wait completed" "wait started"
    fixed log level settings
2004-12-13 00:48:06 +01:00
tomas@poseidon.ndb.mysql.com
2677c34b82 fixed clusterlog "filter" command 2004-12-07 09:11:50 +00:00
tomas@poseidon.ndb.mysql.com
aec0b4e4d7 fixed error in test result
added extra calls to retrieve connectstring used
    reengineered connect somewhat to make retries etc explicit
2004-11-30 17:47:47 +00:00
tomas@poseidon.ndb.mysql.com
e5d03d1b7c added check connection mgmapi method
added ndb_mgm_check_connection when error is printed
2004-11-30 12:02:53 +00:00
tomas@poseidon.ndb.mysql.com
e38512b378 removed unused variables
assigned "localhost" as default connectstring
    added a disconnect() first in connect()
    removed double implementation of connect code, use connect() in NdbRestarter
    removed extra "host=" in connectstring
2004-11-22 10:47:59 +00:00
tomas@poseidon.ndb.mysql.com
7ec0239162 changed mysqladmin.c to mysqladmin.cc
no need for dvlags to have DEFINE_CXA_PURE_VIRTUAL anymore
    aligned the parsing of connectstring, retries for connect, allocation of nodeid for all cluster nodes
    removed all dependencies of LocalConfig, except for mgmapi internals
    enabled multiple management servrs to fetch data configurations from eachother
2004-11-18 18:38:38 +00:00
joreland@mysql.com
b2ff852c62 Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/wl1744
2004-11-10 21:53:21 +01:00
joreland@mysql.com
31303bd0de wl1744 - win compile fixes 2004-11-10 00:39:12 +01:00
joreland@mysql.com
432c12de86 wl1744 - fix compiler problems 2004-11-10 00:13:26 +01:00
tomas@poseidon.ndb.mysql.com
761bee8647 added management function to purge stale sessions in the management server 2004-11-09 19:39:29 +00:00
tomas@poseidon.ndb.mysql.com
5037886d14 removing compiler warnings 2004-10-22 16:21:51 +00:00
tomas@poseidon.ndb.mysql.com
c21b47540f fix c++ style comments in .h and .c files
compilation problems on some platforms'
2004-10-22 11:59:57 +00:00
pekka@mysql.com
1778ac4fcf NDB ndb_mgm: fix dump and signal log (more to do) 2004-10-10 17:38:14 +02:00
joreland@mysql.com
3cb410b8cd New mgmapi call - ndb_mtm_listen_event 2004-09-17 15:11:57 +02:00
joreland@mysql.com
8dfb6b3fc4 Added EventReport for backup 2004-09-17 10:32:22 +02:00
joreland@mysql.com
31ba0b2be2 Moved event category match functionality into mgmapi
Removed grep introduced bogus mgm call
2004-09-17 08:28:22 +02:00
joreland@mysql.com
32cd5acd38 wl1668 -
Add support for getting events via mgmapi
removed all traces of stat port
2004-09-16 18:02:41 +02:00
tulin@build.mysql.com
9698903eb5 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge
2004-09-09 16:22:47 +02:00
tomas@poseidon.(none)
8178861dd9 improved show command
fixed some mutex locks for Ndb objects
moved TranspoterFacade::stop_instance to cluster connection
moved Socket Server::start_server outside the TransporterFacade::start_instance thread
2004-09-09 13:55:14 +00:00
tulin@build.mysql.com
0718ddcbbb merge 2004-09-09 14:39:01 +02:00
tomas@poseidon.(none)
e4290e4831 dded method to retrieve mysqld, ndbd, and ndb_mgmd aliases for API,MGM and DB
added sanity checks for config file
changed so that ndb_0 is replaced by ndb_pid#### in ndb files
added error_string for to some functions, alloc_node_id(), start()
added better error printout for failed alloc node id
better error printouts for failures when starting ndb_mgmd
2004-09-08 14:30:39 +00:00
tomas@poseidon.(none)
2192d179d2 added ndb_mgm_destroy_configuration call
fixed memory leak in object map
fixed uninitialized value blobs_pending
2004-09-06 10:46:23 +00:00