1. 03 Jun, 2007 1 commit
    • unknown's avatar
      Bug#20612. · 1a166bc4
      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.
      1a166bc4
  2. 30 May, 2007 4 commits
  3. 29 May, 2007 6 commits
    • unknown's avatar
      shorten some files for tar to work · a14059db
      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
      a14059db
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 92bea0c3
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
      
      
      92bea0c3
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca · 4efc39f9
      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
      4efc39f9
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 34cbf35e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      34cbf35e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · f75c300a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      f75c300a
    • unknown's avatar
      ndb - fix typo · bfc82a63
      unknown authored
      bfc82a63
  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) · babe38a4
      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).
      babe38a4
  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 · f77ba282
      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
      f77ba282
  8. 18 May, 2007 9 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · c40e8752
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      c40e8752
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · be77fa28
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      be77fa28
    • unknown's avatar
      ndb - bug#28443 · deba58ee
      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
      deba58ee
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · c979e32a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        merge
      c979e32a
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · d1625447
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      d1625447
    • unknown's avatar
      ndb - bug#28443 · a5731933
      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
      a5731933
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 746ee8f8
      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
      746ee8f8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 051c96f2
      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
      051c96f2
    • unknown's avatar
      ndb - bug#28443 · 9bfed519
      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
      9bfed519
  9. 17 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#28491 · 3acd8d31
      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
      3acd8d31
  10. 14 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#28348 · 6962973e
      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
      6962973e
  11. 08 May, 2007 5 commits
    • unknown's avatar
      ndb - bug#20535 · efa9faf2
      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
      efa9faf2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · a6b14a62
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      a6b14a62
    • unknown's avatar
      ndb - bug#27437 · c02934a5
      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
      c02934a5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 503c92d9
      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
      503c92d9
    • unknown's avatar
      ndb - bug#27437 · 3962e2d4
      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
      3962e2d4
  12. 07 May, 2007 1 commit
    • unknown's avatar
      ndb - bug#27942 · 96ad130f
      unknown authored
        Increase size of memory channel
      
      
      storage/ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        increase size of memchannel to prevent crashes (for DD)
      96ad130f
  13. 01 May, 2007 1 commit
    • unknown's avatar
      ndb - dynarr256 · 325c6466
      unknown authored
        fix release iterator
      
      
      storage/ndb/src/kernel/vm/DynArr256.cpp:
        fix release
      storage/ndb/src/kernel/vm/DynArr256.hpp:
        fix release
      325c6466
  14. 30 Apr, 2007 1 commit
    • unknown's avatar
      ndb - bug#28161 · e618e271
      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
      e618e271