1. 12 Oct, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 2f3ac777
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      2f3ac777
    • unknown's avatar
      ndb - bug#23210 · 855c4e06
      unknown authored
        Fix race-condition between COPY_GCIREQ (GCP) and lcpSetActiveStatusEnd
        Solution is _not_ to copy sysfileData from COPY_GCIREQ from "self"
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add error insert for dealying of copy sysfileData
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        1) Add error insert for delaying of sysfileData
        2) Change to that master is _not_ copying sysfileData from COPY_GCIREQ
           as it might be updating it while COPY_GCIREQ is "in the fly"
      855c4e06
  2. 10 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#23107 · 6b4507b9
      unknown authored
        fix bug in test prg
      
      
      6b4507b9
    • unknown's avatar
      ndb - bug#23107 · e486c517
      unknown authored
        fix bug in handling of inactive timeout for scan, when all is delivered
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) set timeout if all scans are at api
        2) Use c_appl_timeout_value when getting scan timeout
      ndb/test/ndbapi/testTimeout.cpp:
        test program
      e486c517
  3. 06 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#22893 · 311abf10
      unknown authored
        Add checking of REDO to earlier during SR
            so take-over of node can be performed
            if it can't be restarted using logs
            (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      
        Otherwise cluster could be started and 1 fragment on one node could not have been restored
        Making the cluster inconsisten, VERY BAD
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Break-out methods which searches for REDO for a fragment, so it can be used earlier during SR
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add checking of REDO to earlier during SR
          so take-over of node can be performed
          if it can't be restarted using logs
          (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      311abf10
  4. 04 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#22892 · 0693c238
      unknown authored
          Make sure checkKeepGci is also run on oldStoredReplicas
            to prevent keepgci to move backwards when crash node restarts
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure checkKeepGci is also run on oldStoredReplicas
          to prevent keepgci to move backwards when crash node restarts
      0693c238
  5. 26 Sep, 2006 6 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 81c9ab54
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      81c9ab54
    • unknown's avatar
      ndb - bug#15303 · add68c0c
      unknown authored
        Fix take-over during SR, remove coupling to lcp/gcp (if systemRestartOngoing())
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix take-over during SR
      add68c0c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 4530566d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      4530566d
    • unknown's avatar
      ndb - bug#22672 · 5ad0f036
      unknown authored
        handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      5ad0f036
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 6806ca7d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      6806ca7d
    • unknown's avatar
      ndb - bug#20895 · 4b6e6da6
      unknown authored
        Fix occational LCP hang!!!
        Make sure only to consider alive nodes in startNextChkpt
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure only to consider alive nodes in startNextChkpt
      4b6e6da6
  6. 15 Sep, 2006 4 commits
    • unknown's avatar
      ndb - bug#21941 · a016cd9e
      unknown authored
        Fix so that scans closed before execute are removed from "scans to send list"
      
      
      ndb/include/ndbapi/NdbTransaction.hpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      ndb/src/ndbapi/NdbTransaction.cpp:
        Fix so that scans closed before execute are removed from "scans to send list"
      a016cd9e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · dc8649ba
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      dc8649ba
    • unknown's avatar
      ndb - bug#21756 · 931af319
      unknown authored
        Fix for alter table when node is down...that could cause pain and misery
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Make sure to check table version before retriving from disk
      931af319
    • unknown's avatar
      ndb - bug#21535 · 20e21807
      unknown authored
        review, Fix also master being "old" version
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix also master being "old" version
      20e21807
  7. 14 Sep, 2006 3 commits
    • unknown's avatar
      ndb - bug#21535 · 144cdb47
      unknown authored
        remove accidently left debug code
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove accidently left debug code
      144cdb47
    • unknown's avatar
      ndb - bug#21535 · 3b4dd64e
      unknown authored
        send new fragdistkeys to all replicas during node recovery
        to make sure that not 3rd or 4th replicas fragDistKey becomes out of sync
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        new signal UpdateFragDistKeyOrd
      ndb/include/kernel/signaldata/CopyFrag.hpp:
        new signal UpdateFragDistKeyOrd
      ndb/include/ndb_version.h.in:
        online software upgrade for new signal UpdateFragDistKeyOrd
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Send noew list of all replicas in copyfragreq
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        new signal UpdateFragDistKeyOrd
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        new signal UpdateFragDistKeyOrd
      3b4dd64e
    • unknown's avatar
      ndb - bug#22195 · ba0d1529
      unknown authored
        also bind client to local host name if specified
      
      
      ndb/src/common/transporter/Transporter.cpp:
        Add binding also of transporter connection (to hostname specified in config file)
      ba0d1529
  8. 13 Sep, 2006 1 commit
    • unknown's avatar
      ndb - bug#22195 · e64b11b0
      unknown authored
        allow bind address for ndbd
      
      
      ndb/include/mgmapi/mgmapi.h:
        Add support for setting local address in NdbMgmHandle
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Add support for specifying local bindaddress to ConfigRetreiver
      ndb/include/util/SocketClient.hpp:
        Add support for setting local address in NdbMgmHandle
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Add support for setting local address in NdbMgmHandle
      ndb/src/common/util/SocketClient.cpp:
        Add support for setting local address in NdbMgmHandle
      ndb/src/kernel/vm/Configuration.cpp:
        Add support for specifying local bindaddress to ndbd
      ndb/src/mgmapi/mgmapi.cpp:
        Add support for setting local address in NdbMgmHandle
      e64b11b0
  9. 04 Sep, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 14bebaa2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      sql/log.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_repl.cc:
        merge
      14bebaa2
    • unknown's avatar
      bug#21965 - replication · d2d605e4
      unknown authored
        fix deadlock if master switches log file in parallell with "show master logs"
        
      
      
      sql/log.cc:
        add raw_get_current_log which dont take log mutex
      sql/sql_class.h:
        add raw_get_current_log which dont take log mutex
      sql/sql_repl.cc:
        Fix lock order i.e first log_lock then index_lock
      d2d605e4
  10. 28 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21615 · b931e3eb
      unknown authored
        Improve error message when detecting corrupted REDO log
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Improve error message when detecting corrupted REDO log
      b931e3eb
  11. 24 Aug, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 84f393f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      84f393f7
    • unknown's avatar
      ndb - bug#21800 · 5d82bec5
      unknown authored
        read TransactionDeadlockTimeout (for scans) to cater for insane settings
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        read TransactionDeadlockTimeout to cater for insane settings
      5d82bec5
  12. 15 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#20708 · 4eb44935
      unknown authored
        init ndb_cache_check_time and honor value in my.cnf
      
      
      sql/ha_ndbcluster.cc:
        init ndb_cache_check_time and honor value in my.cnf
      4eb44935
  13. 14 Aug, 2006 1 commit
  14. 09 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21536 · 3d7cb87b
      unknown authored
        Make sure updateNodeInfo is run on master also for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Run update nodeinfo also here to handle
          temprorary tables in some situations
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        new error insert
      ndb/test/ndbapi/testSystemRestart.cpp:
        test case
      3d7cb87b
  15. 08 Aug, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ad2a2f57
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ad2a2f57
    • unknown's avatar
      ndb - bug#21213 · 6e5ad691
      unknown authored
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
        (only needed when >2 replica)
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
      6e5ad691
  16. 07 Aug, 2006 2 commits
  17. 04 Aug, 2006 5 commits
    • unknown's avatar
      ndb - bug#21129 · b50642e8
      unknown authored
        add missing function to mgmapi
      
      
      ndb/src/mgmapi/ndb_logevent.cpp:
        add missing function
      b50642e8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 9e78bbc2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      9e78bbc2
    • unknown's avatar
      ndb - bug#21400 · bb285b44
      unknown authored
        Fix docs for NdbOpertation::sub_reg
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Fix docs for sub_reg
      bb285b44
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · fc1eeba8
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      fc1eeba8
    • unknown's avatar
      ndb - bug#20296 (recommit in 4.1) · f287b4a8
      unknown authored
         Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
           Yeilding crash on following dml on tupel
      
      
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
              Yeilding crash on following dml on tupe
      f287b4a8
  18. 03 Aug, 2006 3 commits
    • unknown's avatar
      ndb - bug#21384 · 282ff5f1
      unknown authored
        merge 4.1->5.0 (variable rename)
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        merge #21384 4.1->5.0
          variable rename
      282ff5f1
    • unknown's avatar
      ndb - bug#20892 · d765c175
      unknown authored
        Correction of bug#19852 (that also revealed another bug)
        Do grow noOfPagesToGrow with more than was actually allocated
      
      
      ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Dont grow "noOfPagesToGrow" with more than was actually allocated
          (as it will then grow indefinitly)
      d765c175
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · fe2b9a8f
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      fe2b9a8f