An error occurred fetching the project authors.
- 23 Mar, 2007 17 commits
-
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user storage/ndb/include/util/OutputStream.hpp: Auto merged
-
unknown authored
test case mysql-test/r/ndb_partition_key.result: test case mysql-test/r/rpl_ndb_sync.result: test case
-
unknown authored
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged mysql-test/r/ndb_single_user.result: manual merge mysql-test/t/disabled.def: manual merge storage/ndb/include/kernel/signaldata/DictTabInfo.hpp: manual merge storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: manual merge
-
unknown authored
-
unknown authored
sql/ha_ndbcluster.cc: set single user mode on ndb schema table storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: dbug print
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: abort on timeout if in single user mode
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user storage/ndb/include/kernel/signaldata/DictTabInfo.hpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged
-
unknown authored
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-single-user ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged ndb/src/kernel/blocks/dbdict/Dbdict.hpp: Auto merged ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged ndb/include/kernel/signaldata/DictTabInfo.hpp: manual merge ndb/src/ndbapi/NdbDictionaryImpl.cpp: manual merge
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca-single-user storage/ndb/include/ndbapi/NdbDictionary.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionary.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp: Auto merged storage/ndb/include/kernel/signaldata/DictTabInfo.hpp: manual merge storage/ndb/include/ndb_constants.h: manual merge storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp: manual merge storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: manual merge storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp: manual merge storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: manual merge storage/ndb/test/src/NDBT_Table.cpp: manual merge
-
unknown authored
ndb/include/kernel/signaldata/DictTabInfo.hpp: add single user mode field in table definition ndb/include/ndb_constants.h: new constants for single usermode option of tables ndb/include/ndbapi/NdbDictionary.hpp: add single user mode field in table definition ndb/src/common/debugger/signaldata/DictTabInfo.cpp: add single user mode field in table definition ndb/src/kernel/blocks/dbdict/Dbdict.cpp: add single user mode field in table definition send this infor to TC ndb/src/kernel/blocks/dbdict/Dbdict.hpp: add single user mode field in table definition ndb/src/kernel/blocks/dbtc/Dbtc.hpp: single user table mode on table object merge some flags from uint8 to bits get allow transaction to also check single user mode ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: single user table mode on table object merge some flags from uint8 to bits get allow transaction to also check single user mode ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: set single user mode flag on system tables to make them always updatable ndb/src/ndbapi/NdbDictionary.cpp: get/set functions for single user mode on tables ndb/src/ndbapi/NdbDictionaryImpl.cpp: get/set functions for single user mode on tables ndb/src/ndbapi/NdbDictionaryImpl.hpp: get/set functions for single user mode on tables ndb/test/src/NDBT_Table.cpp: print single user mode
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.0-ndb ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user sql/ha_ndbcluster.cc: Auto merged storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged
-
unknown authored
storage/ndb/src/mgmapi/mgmapi.cpp: fix compile warning - signed and unsigned comparison
-
- 22 Mar, 2007 23 commits
-
-
unknown authored
into willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-work
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Auto merged storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Auto merged storage/ndb/test/ndbapi/testNodeRestart.cpp: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
-
unknown authored
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca sql/ha_ndbcluster.h: Auto merged sql/ha_ndbcluster.cc: manual merge
-
unknown authored
- make sure all extra flags are reset
-
unknown authored
Turns out I broke it. Index: ndb-work/storage/ndb/src/mgmsrv/MgmtSrvr.cpp =================================================================== storage/ndb/src/mgmsrv/MgmtSrvr.cpp: WL#3704 mgmapi timeouts: Fix error insert to NOT_STARTED nodes
-
unknown authored
Turns out they can be useful in working out what's going wrong. Index: ndb-work/storage/ndb/test/src/NdbRestarter.cpp =================================================================== storage/ndb/test/src/NdbRestarter.cpp: WL#3704 mgmapi timeouts: Print full error from mgmd in NdbRestarter errors
-
unknown authored
Index: ndb-work/storage/ndb/src/mgmapi/ndb_logevent.cpp =================================================================== storage/ndb/src/mgmapi/ndb_logevent.cpp: WL#3704 mgmapi timeouts: Fix infinite (0) timeout for ndb_logevent_get_next
-
unknown authored
[PATCH] WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug) for TransporterRegistry, keep connection to management server alive. Index: ndb-work/storage/ndb/include/util/InputStream.hpp =================================================================== storage/ndb/include/util/InputStream.hpp: WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug) storage/ndb/include/util/OutputStream.hpp: WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug) storage/ndb/src/common/transporter/TransporterRegistry.cpp: WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug) storage/ndb/src/mgmsrv/Services.cpp: WL#3704 mgmapi timeouts: For mgm server, have timeout per operation, not for entire connection (i.e. fix the bug)
-
unknown authored
Index: ndb-work/storage/ndb/include/util/InputStream.hpp =================================================================== storage/ndb/include/util/InputStream.hpp: WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts storage/ndb/test/include/CpcClient.hpp: WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts storage/ndb/test/src/CpcClient.cpp: WL#3704 mgmapi timeouts: Correct cpc client usage of Socket Input/OutputStream for timeouts
-
unknown authored
Index: ndb-work/storage/ndb/test/run-test/daily-basic-tests.txt =================================================================== storage/ndb/test/run-test/daily-basic-tests.txt: WL#3704 mgmapi timeouts: Add MGMAPI tests to autotest daily run
-
unknown authored
Default timout of 30secs for ConfigRetriever Default timout of 5sec for use by Transporter (ports etc). And Ndb_cluster_connection::set_timeout() api for setting timeout from NDBAPI applications. Should be called before connect. e.g. c.set_timeout(4200); c.connect(); Index: ndb-work/storage/ndb/include/mgmcommon/ConfigRetriever.hpp =================================================================== storage/ndb/include/mgmcommon/ConfigRetriever.hpp: WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts storage/ndb/include/ndbapi/ndb_cluster_connection.hpp: WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp: WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts storage/ndb/src/common/transporter/TransporterRegistry.cpp: WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts storage/ndb/src/ndbapi/ndb_cluster_connection.cpp: WL#3704 mgmapi timeouts: update NDBAPI usage of mgmapi for timeouts
-
unknown authored
as side effect - turbo accellerator patch for ndb_mgm - sholud make it quicker... so that 4mhz cpu will seem even faster. Index: ndb-work/storage/ndb/src/mgmclient/CommandInterpreter.cpp =================================================================== storage/ndb/src/mgmclient/CommandInterpreter.cpp: WL#3704 mgmapi timeouts: use timeouts in mgm client
-
unknown authored
use portable method, getting milliseconds between calls - Linux would let us do funky stuff by getting the timeout from select(2). Everywhere else sucks and doesn't let us do that :( Index: ndb-work/storage/ndb/include/util/InputStream.hpp =================================================================== storage/ndb/include/util/InputStream.hpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/include/util/OutputStream.hpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/include/util/socket_io.h: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/src/common/util/InputStream.cpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/src/common/util/OutputStream.cpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/src/common/util/socket_io.cpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request storage/ndb/src/mgmsrv/Services.cpp: WL#3704 mgmapi timeouts: Change to have total timeout for call, not per request
-
unknown authored
Index: ndb-work/storage/ndb/include/mgmapi/mgmapi.h =================================================================== storage/ndb/include/mgmapi/mgmapi.h: WL#3704 mgmapi timeouts: clarify multiple mgmd connect timeout semantics storage/ndb/src/mgmapi/mgmapi.cpp: WL#3704 mgmapi timeouts: clarify multiple mgmd connect timeout semantics
-
unknown authored
Only one timeout value is needed. Also saves 8bytes per NdbMgmHandle :) Index: ndb-work/storage/ndb/include/mgmapi/mgmapi.h =================================================================== storage/ndb/include/mgmapi/mgmapi.h: WL#3704 mgmapi timeouts: consolidate NdbMgmHandle timeouts into one storage/ndb/src/mgmapi/mgmapi.cpp: WL#3704 mgmapi timeouts: consolidate NdbMgmHandle timeouts into one
-
unknown authored
Index: ndb-work/storage/ndb/test/ndbapi/testMgm.cpp =================================================================== storage/ndb/test/ndbapi/testMgm.cpp: WL#3704 mgmapi timeouts: Test for structured events timeouts (with err injection).
-
unknown authored
Index: ndb-work/storage/ndb/src/mgmsrv/MgmtSrvr.cpp =================================================================== storage/ndb/src/mgmsrv/ERROR_codes.txt: WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts storage/ndb/src/mgmsrv/MgmtSrvr.cpp: WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts storage/ndb/src/mgmsrv/Services.cpp: WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts storage/ndb/test/ndbapi/testMgm.cpp: WL#3704 mgmapi timeouts: manipulate some things to get infrastructure for event timeouts
-
unknown authored
Also add an ERROR_codes.txt file for mgmd Index: ndb-work/storage/ndb/src/mgmsrv/ERROR_codes.txt =================================================================== storage/ndb/src/mgmsrv/Services.cpp: WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates. storage/ndb/test/ndbapi/testMgm.cpp: WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates. storage/ndb/src/mgmsrv/ERROR_codes.txt: WL#3704 mgmapi timeouts: renumber mgmd err insert to not have duplicates.
-
unknown authored
In ndb_mgm_call, add checks for expired timeout in (Input|Output)Stream. In case of timeout, we set NdbMgmHandle->last_error and return NULL. In api calls not using ndb_mgm_call (or using it in conjunction with own IO), they'll need to check for timeouts manually. Macros are provided to do this. Add ndb_mgm_disconnect_quiet(h) to disconnect without checking errors (so we don't clobber NdbMgmHandle->last_error). This helps us provide the *consistent* semantic that on timeout we leave the NdbMgmHandle *disconnected*. We check for this in testMgm. Change CHECK_REPLY in mgmapi to also check for set error in handle->last_error This will pick up the ETIMEDOUT errors and return them to client (through returning correct failure code for API call and setting NdbMgmHandle error). Applications written to MGMAPI before this patch will behave as before, and even hopefully check get_last_error and report the error back to the end user! Adding the last CHECK_TIMEDOUT_RET and delete in ndb_mgm_call() we slightly change behaviour of mgmapi. Previously, if disconnect midway through a reply, where there were only optional parameters left, we'd get a Properties object from ndb_mgm_call() containing NULLs for the optional parameters, leading to interesting error messages. This enables the returning of the *real* message and actually improves the API without breaking compatibility. ndb_mgm_start_signallog ndb_mgm_stop_signallog ndb_mgm_log_signals ndb_mgm_set_trace ndb_mgm_insert_error ndb_mgm_set_int64_parameter [1] ndb_mgm_set_string_parameter [1] ndb_mgm_purge_stale_sessions [2] - return error code on error during ndb_mgm_call TODO: ndb_mgm_report_event [2] [1] marked for removal, unused. [2] return codes incorrect in CHECK_HANDLE/CONNECTED. undocumented. Server side: in Services (per session) add macro for injecting timeout error (just waiting 10 seconds before continuing... it does work!) We inject these errors in a number of critical places - including the tricky api functions that don't just use ndb_mgm_call but do their own thing (get_config, get_status and friends) ATRT: Expand testMgm to add timout tests for API. Fully automated. *THEORETICALLY* timing dependent - an ultra-slow network will cause problems and "fake" failures... I welcome other solutions. Tests aren't exhaustive, but cover the generics and the tricky bits. Also test some calling semantics (incl disconnected on error). It is encouraged to add *more* mgmapi tests, not less :) InputStream: Fix where timedout error is set Index: ndb-work/storage/ndb/src/mgmapi/mgmapi.cpp =================================================================== storage/ndb/src/common/util/InputStream.cpp: WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi storage/ndb/src/mgmapi/mgmapi.cpp: WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi storage/ndb/src/mgmapi/mgmapi_internal.h: WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi storage/ndb/src/mgmsrv/Services.cpp: WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi storage/ndb/test/ndbapi/testMgm.cpp: WL#3704 mgmapi timeouts: Return sane errors for timeout in mgmapi
-