1. 03 Jun, 2007 1 commit
    • unknown's avatar
      Bug#20612. · 1b5c8df7
      unknown authored
      
      storage/ndb/src/kernel/blocks/pgman.cpp:
        a) in one case pl_queue.remove(ptr) was not followed
        by state &= ~ Page_entry::ONQUEUE.
        
        b) when collecting initial hot entries have to remove
        from queue if somehow got there.
        
        b) is easy to get with large buffer cache (256M).
        a) or b) is probably cause of bug#20612.
      1b5c8df7
  2. 30 May, 2007 4 commits
  3. 29 May, 2007 6 commits
    • unknown's avatar
      shorten some files for tar to work · bb82fa3b
      unknown authored
      
      storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp:
        Rename: storage/ndb/ndbapi-examples/ndbapi_simple_index/ndbapi_simple_index.cpp -> storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
      storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp:
        Rename: storage/ndb/ndbapi-examples/mgmapi_logevent/mgmapi_logevent.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
      storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp:
        Rename: storage/ndb/ndbapi-examples/mgmapi_logevent2/mgmapi_logevent2.cpp -> storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
      storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp:
        Rename: storage/ndb/src/kernel/blocks/dblqh/redoLogReader/redoLogFileReader.cpp -> storage/ndb/src/kernel/blocks/dblqh/redoLogReader/reader.cpp
      storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp:
        Rename: storage/ndb/ndbapi-examples/ndbapi_simple_dual/ndbapi_simple_dual.cpp -> storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
      bb82fa3b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 6a8a7f7d
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
      
      6a8a7f7d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 7eb2b153
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      7eb2b153
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 71048258
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      71048258
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · f863fc2a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      f863fc2a
    • unknown's avatar
      ndb - fix typo · 497d0e58
      unknown authored
      497d0e58
  4. 28 May, 2007 6 commits
  5. 25 May, 2007 1 commit
    • unknown's avatar
      Bug #28525 Node failures in PGMAN at ndbrequire (line 430) · 3608d311
      unknown authored
      
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Under heavy insert PGMAN can run out of page entries
        even when set to 100 times page cache entries.
        
        In this use pattern the extra entries remain idle
        on LIRS stack.  Only ONSTACK is set.  There is not
        enough activity to free them the normal way.
        
        A study of PGMAN / DBTUP behaviour is needed.
        
        This patch adds new sublist SL_IDLE.  When page entry
        pool is empty, an idle entry is released from SL_IDLE
        front if there is any.  Otherwise, we still crash.
        
        The factor above is set from 100 to 10 (still high).
      storage/ndb/src/kernel/blocks/pgman.hpp:
        Under heavy insert PGMAN can run out of page entries
        even when set to 100 times page cache entries.
        
        In this use pattern the extra entries remain idle
        on LIRS stack.  Only ONSTACK is set.  There is not
        enough activity to free them the normal way.
        
        A study of PGMAN / DBTUP behaviour is needed.
        
        This patch adds new sublist SL_IDLE.  When page entry
        pool is empty, an idle entry is released from SL_IDLE
        front if there is any.  Otherwise, we still crash.
        
        The factor above is set from 100 to 10 (still high).
      3608d311
  6. 24 May, 2007 2 commits
  7. 22 May, 2007 1 commit
    • unknown's avatar
      Bug #28593 cluster backup scans in acc index order, bad for disk data · 45cf4639
      unknown authored
      - change to scan in tup and disk order (if applicable)
      
      
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        tup scan for backup also, not only lcp
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        choose disk order scan for disktables during backup
        + move bug workaround for 27776 from tup to lqh
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        add missing jamEntry
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        move bug workaround for 27776 from tup to lqh
      storage/ndb/src/kernel/blocks/pgman.cpp:
        missing jamEntry
      45cf4639
  8. 18 May, 2007 9 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 29d81a84
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      29d81a84
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · cf7c4757
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      cf7c4757
    • unknown's avatar
      ndb - bug#28443 · 10c2198c
      unknown authored
        review comment 2, atleast 1 signal need for test prg
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        review comment, atleast 1 signal need
      10c2198c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 7d2586d9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        merge
      7d2586d9
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ccc0cc0e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ccc0cc0e
    • unknown's avatar
      ndb - bug#28443 · 28a8a08f
      unknown authored
        review comment
        if some tcp-transporter has data, then do select with timeout 0
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        review comment
        if some tcp-transporter has data, then do select with timeout 0
      28a8a08f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 88fa4ce8
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/common/transporter/Packer.cpp:
        Auto merged
      storage/ndb/src/common/transporter/TCP_Transporter.hpp:
        Auto merged
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      88fa4ce8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 55a9a9dd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/Packer.cpp:
        Auto merged
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/common/transporter/TransporterRegistry.cpp:
        merge
      ndb/test/ndbapi/testNdbApi.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      55a9a9dd
    • unknown's avatar
      ndb - bug#28443 · b7a609a6
      unknown authored
        Make sure that data can not e left lingering in receive buffer
      
      
      ndb/src/common/transporter/Packer.cpp:
        test, make MAX_RECEIVED_SIGNALS an variable
      ndb/src/common/transporter/TCP_Transporter.hpp:
        add new method for checking of data in receive buffer
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Make sure that 
        1) poll_TCP return true if any transporter has data in receiveBuffer
           (previously only if socket had data)
        2) performReceive executes signals if TCP transporter has data in receiveBuffer
           (previously only if data was recevied)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        test, make MAX_RECEIVED_SIGNALS an variable
      ndb/test/ndbapi/testNdbApi.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      b7a609a6
  9. 17 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#28491 · ceb38e37
      unknown authored
        disable "disable expand check" as it does not solve problems anyway
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        disable "disable expand check" as it does not solve problems anyway
      ceb38e37
  10. 14 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#28348 · d0a6dd87
      unknown authored
        remove LCP files when dropping table
      
      
      storage/ndb/include/kernel/signaldata/FsOpenReq.hpp:
        add tup as user (for fsremove)
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        add remove LCP stuff
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        add remove LCP stuff
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        remove each LCP file regardless if present or not
      d0a6dd87
  11. 08 May, 2007 5 commits
    • unknown's avatar
      ndb - bug#20535 · 8f31e68e
      unknown authored
        set null bits on delete+insert
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        set null bits on delete+insert
      storage/ndb/test/ndbapi/testBasic.cpp:
        set null bits on delete+insert
        20535
      storage/ndb/test/run-test/daily-basic-tests.txt:
        testcase
      8f31e68e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 85227a11
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      85227a11
    • unknown's avatar
      ndb - bug#27437 · d324b9ce
      unknown authored
        redo extra verification code so that tupkeyref is reset just before tupkeyreq
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        redo extra verification code so that tupkeyref is reset just before tupkeyreq
      d324b9ce
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · d126036d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      mysql-test/t/ndb_basic.test:
        Auto merged
      mysql-test/r/ndb_basic.result:
        SCCS merged
      d126036d
    • unknown's avatar
      ndb - bug#27437 · fa0b9a2b
      unknown authored
        bug in interpretedupdate (used for auto-increment) that made TUPKEYREF be sent twice
        this was however "normally" shadowed, but made LQH crash when LCP was about to start
      
      
      mysql-test/r/ndb_basic.result:
        testcase
      mysql-test/t/ndb_basic.test:
        testcase
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        add extra variable to make sure TUPKEYREF is not received twice (VM_TRACE)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add extra variable to make sure TUPKEYREF is not received twice (VM_TRACE)
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        make sure TUPKEYREF is not sent twice in case of "error" in interpreted program
      fa0b9a2b
  12. 07 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#27942 · cee4a728
      unknown authored
        Increase size of memory channel
      
      
      storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        increase size of memchannel to prevent crashes (for DD)
      cee4a728
  13. 01 May, 2007 1 commit
    • unknown's avatar
      ndb - dynarr256 · 39cab8c4
      unknown authored
        fix release iterator
      
      
      storage/ndb/src/kernel/vm/DynArr256.cpp:
        fix release
      storage/ndb/src/kernel/vm/DynArr256.hpp:
        fix release
      39cab8c4
  14. 30 Apr, 2007 1 commit
    • unknown's avatar
      ndb - bug#28161 · 7f190a59
      unknown authored
        fix commit triggers with DD but not using DD
      
      
      storage/ndb/include/kernel/signaldata/TupCommit.hpp:
        add diskpage
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add diskpage
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        pass disk/nodisk down detachedtrigger-path
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        use TUPCOMMIT req for signaling diskpage back and forth
          so that I can init pointers (VM_TRACE) when from LQH
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        remove niclude
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        only derefence disk pointer if needed
      7f190a59