An error occurred fetching the project authors.
  1. 25 Aug, 2004 3 commits
  2. 23 Aug, 2004 2 commits
    • unknown's avatar
      Correct number of system table attributes · 48c16480
      unknown authored
      48c16480
    • unknown's avatar
      1) Default config is 1 frag per node · afe21e63
      unknown authored
      2) MAX_FRAG_PER_NODE separated from NO_OF_FRAG_PER_NODE and
      takes into account large fragmentation
      3) SUMA use config parameter instead of hard coded limit
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Moved addition of system tables and its attributes to Configuration.cpp
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Medium == default is one fragment per node
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        Use MAX_FRAG_PER_NODE, NO_OF_FRAG_PER_NODE is used for
        allocation purposes, still allowed to create a table with
        many fragments
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Use max no of tables configured instead of maximum configurable
      ndb/src/kernel/vm/Configuration.cpp:
        Update configuration to handle also system tables and their attributes
      ndb/src/kernel/vm/pc.hpp:
        Maximum fragments per node is 8 in the worst case
      afe21e63
  3. 21 Aug, 2004 1 commit
    • unknown's avatar
      New config parameters · 1e5716ce
      unknown authored
      malloc -> NdbMem_Allocate
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Added Meta Data config parameter constants
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Added Meta Data config parameters
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        malloc -> NdbMem_Allocate
      ndb/src/common/mgmcommon/NdbConfig.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbCondition.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbMutex.c:
        malloc -> NdbMem_Allocate
      ndb/src/common/portlib/NdbThread.c:
        malloc -> NdbMem_Allocate
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Removed memory allocation as part of new of TcIndexOperation
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Some minor things + change of config parameter for consistency
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Removed memory allocation as part of new of TcIndexOperation
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        malloc -> NdbMem_Allocate
      ndb/src/kernel/vm/Configuration.cpp:
        malloc -> NdbMem_Allocate
        + New config parameters for more consistency
      ndb/src/kernel/vm/pc.hpp:
        Not so many fragments allocated. Saves 140kBytes per table
        160 kb -> 20 kb per table
      1e5716ce
  4. 20 Aug, 2004 2 commits
  5. 09 Aug, 2004 1 commit
    • unknown's avatar
      bug#4529 · 1905e1c5
      unknown authored
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Separate connect and all/fetch
      ndb/include/mgmcommon/LocalConfig.hpp:
        Use BaseString
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Separate connect and all/fetch
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        Removed useless onlyNodeId
      ndb/src/kernel/main.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.cpp:
        Separeted Configuration fetch/setup
      ndb/src/kernel/vm/Configuration.hpp:
        Separeted Configuration fetch/setup
      ndb/src/mgmapi/mgmapi.cpp:
        Fixed some return codes
      ndb/src/mgmclient/main.cpp:
        LocalConfig update
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Put mutex around reserving node'ids
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Changes ConfigRetreiver interface
      ndb/src/mgmsrv/Services.cpp:
        Allow reserve same id twice
      ndb/src/mgmsrv/main.cpp:
        Ignore SIGPIPE
      ndb/src/ndbapi/TransporterFacade.cpp:
        ConfigRetriever interface
      1905e1c5
  6. 05 Aug, 2004 1 commit
  7. 04 Aug, 2004 1 commit
    • unknown's avatar
      Fix for allowing large transactions with less memory impact. · 607f0de7
      unknown authored
      Currently one needs 636*1.6*2*noOfReplicas + 184 bytes per record
      which amounts to about 4200 bytes per record. The 2 is a bug which
      is fixed here as well, noOfReplicas is removed, it was there for
      concurrent transactions but it is better to focus on supporting one
      large transaction in the cluster. Also decreasing the safety factor
      from 1.6 to 1.1.
      
      Also removing unused parameters.
      
      
      607f0de7
  8. 30 Jun, 2004 1 commit
    • unknown's avatar
      see respective file · e28b7932
      unknown authored
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        fix SHM config + cosmetics
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        use autoptr
      ndb/src/common/transporter/SHM_Transporter.cpp:
        fixed SHM transporter setup
      ndb/src/common/transporter/SHM_Transporter.hpp:
        fixed SHM transporter setup
      ndb/src/common/transporter/SHM_Transporter.unix.cpp:
        fixed SHM transporter setup
      ndb/src/kernel/vm/Configuration.cpp:
        removed check of connectstring
      e28b7932
  9. 28 Jun, 2004 1 commit
    • unknown's avatar
      several config fixes for ndb, see respective file · e2d3f7b0
      unknown authored
      ndb/include/debugger/EventLogger.hpp:
        removed unused method
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
      ndb/include/mgmcommon/NdbConfig.h:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/include/ndb_global.h:
        introduced define NDB_BASE_PORT to control default port for ndb
      ndb/src/common/debugger/EventLogger.cpp:
        removed unused method
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        introduced define NDB_BASE_PORT to control default port for ndb
        + added setting default Id's on nodes
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        changed error message
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        introduced define NDB_BASE_PORT to control default port for ndb
      ndb/src/common/mgmcommon/NdbConfig.c:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/common/transporter/TransporterRegistry.cpp:
        spelling errors
      ndb/src/kernel/error/ErrorReporter.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/error/ErrorReporter.hpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/main.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/kernel/vm/Configuration.cpp:
        moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
      ndb/src/kernel/vm/Configuration.hpp:
        moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
      ndb/src/mgmclient/main.cpp:
        fix default port number
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        fix default port
      ndb/src/mgmsrv/Services.cpp:
        added spec of transporter in get_nodeid
      ndb/src/mgmsrv/main.cpp:
        moved naming of all "ndb" file into NdbConfig.c
      ndb/src/ndbapi/TransporterFacade.cpp:
        moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
      ndb/src/ndbapi/TransporterFacade.hpp:
        moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
      e2d3f7b0
  10. 26 May, 2004 1 commit
  11. 07 May, 2004 1 commit
    • unknown's avatar
      more removing of "system" files and introducing ndb_global/my_global · 551ac8d6
      unknown authored
      BitKeeper/deleted/.del-NdbStdio.h~17be17a4f591c671:
        Delete: ndb/include/portlib/NdbStdio.h
      BitKeeper/deleted/.del-NdbString.h~1f9f26341ce5f5f:
        Delete: ndb/include/util/NdbString.h
      BitKeeper/deleted/.del-NdbConstant.hpp~de1038c1758cc1f9:
        Delete: ndb/include/portlib/NdbConstant.hpp
      BitKeeper/deleted/.del-NdbUnistd.h~a1b3840adcd49985:
        Delete: ndb/include/portlib/NdbUnistd.h
      551ac8d6
  12. 04 May, 2004 1 commit
    • unknown's avatar
      Merge NDB patches into 4.1-clone, below is list of changesets · 5f02d41c
      unknown authored
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.1
      # Removal of NDBT_Table
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.2
      # Removal of NDBT_Table
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.3
      # Fix for crashing AT
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.4
      # Bug fixes in testIndex
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1866.1.5
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/tmp
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.1.5
      # Fix for takeover when accessing indexes.
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1866.1.6
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/tmp
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.1
      # Fixed error handling of fire_trigger_ord + lqhkeyref w.r.t indexes
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.2
      # Simple retry mechanism in UTIL
      # Helps testIndex -n BuildDuring _a lot_
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.3
      # Misc fixes to test prg.
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.4
      # Allow more retires on application errors
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.5
      # Pass no of rows fetched in SUB_SYNC_CONTINUE_REQ
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1869
      # wl1714
      # Improve parallellism
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1870
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/wl1714
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1866.1.7
      # Merge
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1871
      # Merge mysql.com:/home/jonas/src/wl1714
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1872
      # Fix for testScan -n ScanReadError5030
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1873
      # fix testDict -n FragmentType*
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1866.2.1
      # small fixes
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1874
      # Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into stingray.(none):/space/bk/rep/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1875
      # handle rep node as an api node
      # --------------------------------------------
      # 04/04/14      pekka@mysql.com 1.1873.1.1
      # Fix for NDBT_Table removal
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1873.1.2
      # Uninitialized var.
      # --------------------------------------------
      # 04/04/15      johan@stingray.(none)   1.1876
      # Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into stingray.(none):/space/bk/rep/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1873.1.3
      # Write pid before changing user
      # (as runas user probably doesn't have permissions on pid-dir)
      # --------------------------------------------
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1862.1.3
      # Fix printout of varchars
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1877
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1862.1.4
      # Hmm.. don't print attr as many times as length of array
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1878
      # Merge mc03.ndb.mysql.com:/space/ndb/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1876.1.1
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1877.1.1
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1879
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/17      joreland@mysql.com      1.1880
      # LCP bug when restarting ops take's longer than DIH sending a new lcp ord
      # Solution:
      # Send LCP_FRAG_REP after restarting all ops
      # --------------------------------------------
      # 04/04/18      joreland@mysql.com      1.1881
      # Missspelled ERROR_INSERT
      # --------------------------------------------
      # 04/04/18      joreland@mysql.com      1.1882
      # Added possibility to log only distributed signals
      # --------------------------------------------
      # 04/04/22      joreland@mysql.com      1.1883
      # Removed dependancy to libstdc++
      # * pure virtual functions "__cxa_pure_virtual" is defined in libstd++ ->
      #   remove all pure virtual functions
      # --------------------------------------------
      # 04/04/23      joreland@mysql.com      1.1884
      # Various minor bug fixes for problems found while compiling
      # with icc
      # --------------------------------------------
      # --------------------------------------------
      # 04/04/25      joreland@mysql.com      1.1885
      # Removed debug code (joreland:1.1875)
      # --------------------------------------------
      # 04/04/26      ejonore@mc03.ndb.mysql.com      1.1862.1.5
      # Lock pages in memory _after_ daemon-mode (exec/fork)
      # --------------------------------------------
      # 04/04/27      ejonore@mc03.ndb.mysql.com      1.1862.1.6
      # 1) Trap abort()
      # 2) StopStart/StopAborted events
      # 3) warning if memlock fails
      # 4) use g_logger more often (instead of ndbout)
      # 
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1886
      # bug fix for a bug in wl1714 + software upgrade
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1887
      # Cset exclude: joreland@mysql.com|ChangeSet|20040422160720|05374
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1888
      # removed libstc++ second try...
      # --------------------------------------------
      # 04/04/28      ejonore@mc03.ndb.mysql.com      1.1862.1.7
      # 1) Don't lock FUTURE pages but only current
      # 2) Do this when SIZEALT has completed
      # --------------------------------------------
      # 04/04/30      joreland@mysql.com      1.1889
      # Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/05/03      ndb@mc03.ndb.mysql.com  1.1862.1.8
      # Version update
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.3.1
      # Changed restart behavior.
      # Use "angel" process which monitor "real" process
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.9
      # Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1890
      # Merge B2 fixes
      # --------------------------------------------
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.10
      # Better handling of children terminations
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.11
      # Fixes for angel-restarting
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1891
      # Merge mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      #
      
      
      ndb/config/Defs.LINUX.x86.GCC.mk:
        Merge ndb fixes
      ndb/examples/ndbapi_async_example/Makefile:
        Merge ndb fixes
      ndb/examples/ndbapi_async_example/ndbapi_async.cpp:
        Merge ndb fixes
      ndb/examples/ndbapi_scan_example/Makefile:
        Merge ndb fixes
      ndb/include/debugger/SignalLoggerManager.hpp:
        Merge ndb fixes
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Merge ndb fixes
      ndb/include/ndb_version.h:
        Merge ndb fixes
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Merge ndb fixes
      ndb/include/util/SocketServer.hpp:
        Merge ndb fixes
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        Merge ndb fixes
      ndb/src/common/logger/ConsoleLogHandler.cpp:
        Merge ndb fixes
      ndb/src/common/portlib/unix/NdbMem.c:
        Merge ndb fixes
      ndb/src/common/util/Makefile:
        Merge ndb fixes
      ndb/src/common/util/version.c:
        Merge ndb fixes
      ndb/src/cw/cpcd/Process.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/Restore.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/Restore.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ndbfs/Filename.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Merge ndb fixes
      ndb/src/kernel/error/Error.hpp:
        Merge ndb fixes
      ndb/src/kernel/ndb-main/Main.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Configuration.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Configuration.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/DLFifoList.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Emulator.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/SignalCounter.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Merge ndb fixes
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Merge ndb fixes
      ndb/src/mgmsrv/NodeLogLevel.cpp:
        Merge ndb fixes
      ndb/src/ndbapi/ClusterMgr.cpp:
        Merge ndb fixes
      ndb/src/ndbapi/Ndberror.cpp:
        Merge ndb fixes
      ndb/src/rep/rep_version.hpp:
        Merge ndb fixes
      ndb/test/ndbapi/testDict/testDict.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testIndex/testIndex.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testMgm/testMgm.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testScan/testScan.cpp:
        Merge ndb fixes
      ndb/test/src/HugoTransactions.cpp:
        Merge ndb fixes
      ndb/test/src/NDBT_Tables.cpp:
        Merge ndb fixes
      ndb/test/src/NDBT_Test.cpp:
        Merge ndb fixes
      ndb/test/src/UtilTransactions.cpp:
        Merge ndb fixes
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      5f02d41c
  13. 14 Apr, 2004 1 commit