1. 01 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24748 · a29f5276
      unknown authored
        Skip rollback if only committedRead in transaction
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Skip rollback if only committedRead in transaction
      a29f5276
    • unknown's avatar
      ndb - · 61c5b80e
      unknown authored
        add testcase for bug#24717
       + fix typo
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Fix typo
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase for bug#24717
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#24717
      61c5b80e
    • unknown's avatar
      ndb - bug#24717 · cc00d542
      unknown authored
        5.0 version
        Add some extra state to try to prevent sending committedread to node too early
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/vm/SimulatedBlock.hpp:
        remove extra virtual-indirection
      cc00d542
  2. 22 Nov, 2006 6 commits
    • unknown's avatar
      ndb - bug#24503 · 9c7361e6
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      9c7361e6
    • unknown's avatar
      ndb - bug#24503 · 1ca32bbc
      unknown authored
        Fix scan filter on bit types
        (note should probably be enabled in condition pushdown aswell)
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        Add support for comparing bit types
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add correct handling of unsupported type
      ndb/src/ndbapi/ndberror.c:
        Add new error code
      1ca32bbc
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · bb4c84e6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      bb4c84e6
    • unknown's avatar
      ndb - bug#24461 · 55640f60
      unknown authored
      m  ove mlock to much earlier in startphases
        not to affect heartbeats
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        move mlock to much earlier in startphases
          not to affect heartbeats
      55640f60
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · acd36295
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      acd36295
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · 9e9f5fc2
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      9e9f5fc2
  3. 21 Nov, 2006 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 9759d3c9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testScan.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      9759d3c9
    • unknown's avatar
      ndb - · c893cb4f
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      c893cb4f
    • unknown's avatar
      ndb - bug#24447 · 99d39263
      unknown authored
        api disconnect just after SCAN_TABREQ
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) add error insert for faking DISCONNECT of API just after SCAN_TABREQ
        2) handle error :-)
      ndb/test/ndbapi/testScan.cpp:
        Add etstcase for bug 24447
      ndb/test/run-test/daily-basic-tests.txt:
        Add etstcase for bug 24447
      99d39263
    • unknown's avatar
      ndb - · 01797892
      unknown authored
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      
      
      ndb/src/common/util/InputStream.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      ndb/src/common/util/socket_io.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      01797892
  4. 06 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24011 · 1ef8fe5a
      unknown authored
        
      
      
      ndb/src/common/util/socket_io.cpp:
        Fix problem with cut sockmessages
      1ef8fe5a
  5. 27 Oct, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ba583978
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      ba583978
    • unknown's avatar
      ndb - valgrind · 11ac4907
      unknown authored
        Still leakage, make sure all unlinked operations are put back so they will be release
        (on failing blob operations, when AO_IgnoreError)
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Still leakage, make sure all unlinked operations are put back so they will be release
      11ac4907
  6. 20 Oct, 2006 6 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 65f50416
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        SCCS merged
      65f50416
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 9070859e
      unknown authored
        Fix some too small buffers in backup
        
      
      
      ndb/include/kernel/ndb_limits.h:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure to set maxInsert so that we actually can handle NO_OF_META_PAGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      9070859e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c54295f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      c54295f7
    • unknown's avatar
      ndb - · b81cc9c3
      unknown authored
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      b81cc9c3
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 8af99710
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      8af99710
    • unknown's avatar
      ndb - · 608e9207
      unknown authored
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      608e9207
  7. 19 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#23200 · d262020f
      unknown authored
        this changes lock taken during peek, to decrease likelyhood of transaction abort
        
      
      
      sql/ha_ndbcluster.cc:
        use exclusive lock in peek, as peek is used just before insert/update
      d262020f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · eb1d1202
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      eb1d1202
  8. 18 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23200 · 1028185a
      unknown authored
        Make sure postExecute is not run for blobs if AO_IgnoreError
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
      1028185a
  9. 13 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23203 · a4a651e1
      unknown authored
        1) Handle not started nodes in dump 1000 (check for division by 0)
        2) Make sure to init variables in constructor
      
      
      ndb/src/common/debugger/EventLogger.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Init variables in constructor
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Init variables in constructor
        Handle not started nodes
      a4a651e1
  10. 12 Oct, 2006 3 commits
    • unknown's avatar
      ndb - missing if for bug#21941 · 2acf07aa
      unknown authored
        note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        missing if for bug#21941
      2acf07aa
    • 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 15 Sep, 2006 1 commit
    • 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