ndb/include/kernel/signaldata/ScanTab.hpp:
Add distribution key to ScanTab to enable scanning of specific fragment
ndb/include/ndbapi/NdbOperation.hpp:
New methods for controlling distribution/partitioning
ndb/include/ndbapi/NdbScanOperation.hpp:
New methods for controlling distribution/partitioning
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Don't mask away kvalue from hash while computing fragId
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Add distribution key to ScanTab to enable scanning of specific fragment
ndb/src/ndbapi/NdbBlob.cpp:
removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
ndb/src/ndbapi/NdbConnection.cpp:
removed explicit cast
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
ndb/src/ndbapi/NdbIndexOperation.cpp:
removed theFirstKEYINFO and replaced that with theTCREQ->next
ndb/src/ndbapi/NdbOperation.cpp:
removed theFirstKEYINFO and replaced that with theTCREQ->next
ndb/src/ndbapi/NdbOperationExec.cpp:
removed theFirstKEYINFO and replaced that with theTCREQ->next
ndb/src/ndbapi/NdbOperationSearch.cpp:
removed theFirstKEYINFO and replaced that with theTCREQ->next
Enable partition scan
ndb/src/ndbapi/NdbScanOperation.cpp:
removed theFirstKEYINFO and replaced that with theTCREQ->next
Enable partition scan
mysql-test/r/ndb_index_ordered.result:
test case
mysql-test/t/ndb_index_ordered.test:
test case
ndb/include/kernel/signaldata/ScanTab.hpp:
Split exclusive/keyinfo
ndb/include/ndbapi/NdbIndexScanOperation.hpp:
Add possibility retreive sorted flag
ndb/include/ndbapi/NdbOperation.hpp:
Add possibility retreive lock mode
ndb/include/ndbapi/NdbResultSet.hpp:
Add possibility to get operation
ndb/src/common/debugger/signaldata/ScanTab.cpp:
Split exclusive/keyinfo
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Store flags in ScanFragReq::requestInfo format
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Store flags in ScanFragReq::requestInfo format
ndb/src/ndbapi/NdbOperationDefine.cpp:
Keep theLockMode up-to-date
ndb/src/ndbapi/NdbScanOperation.cpp:
Keep theLockMode up-to-date
sql/ha_ndbcluster.cc:
Use NdbIndexScanOperation::reset_bounds when
performing second index access
- Send BOUNDS as KEYINFO
- At restart, only reset KEYINFO
--
Fix resource shortage at KEYINFO in Dbtc and Dblqh w.r.t scan
--
ndb/include/kernel/signaldata/AttrInfo.hpp:
Let NdbScanOperation access AttrInfo
ndb/include/kernel/signaldata/KeyInfo.hpp:
Let NdbScanOperation access AttrInfo
ndb/include/kernel/signaldata/ScanFrag.hpp:
Send KeyLen in ScanFragReq (for range scans)
ndb/include/kernel/signaldata/ScanTab.hpp:
Send KeyLen in ScanTabReq (for range scans)
ndb/include/ndbapi/NdbConnection.hpp:
Function for adding op to list
ndb/include/ndbapi/NdbIndexScanOperation.hpp:
new method for saving BOUNDS
ndb/include/ndbapi/NdbOperation.hpp:
Remove bounds stuff from NdbOperation and put it into NdbScanOperation
ndb/include/ndbapi/NdbScanOperation.hpp:
reset bounds
ndb/src/common/debugger/signaldata/Makefile.am:
New signal data printer for ScanFrag
ndb/src/common/debugger/signaldata/ScanTab.cpp:
Fix printout
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
New signal data printer for ScanFrag
ndb/src/kernel/blocks/backup/Backup.cpp:
Updated ScanFragReq
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Use same sendKeyInfo for both acckeyreq and tux_bounds
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Let range scan use KEYinfo for bounds instead of attrinfo
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Let range scan use KEYinfo for bounds instead of attrinfo
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Handle keyinfo in range scan
ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
Skip useless 5 words in beginning of TuxBounds
ndb/src/kernel/blocks/suma/Suma.cpp:
Fix SCAN_FRAGREQ
ndb/src/ndbapi/NdbConnection.cpp:
reset bounds
ndb/src/ndbapi/NdbOperation.cpp:
Remove bounds
ndb/src/ndbapi/NdbOperationDefine.cpp:
Remove bounds stuff
ndb/src/ndbapi/NdbOperationInt.cpp:
Remove bounds stuff
ndb/src/ndbapi/NdbScanOperation.cpp:
Send BOUNDS in KEYINFO instead of ATTRINFO
use of first_batch_size
ndb/include/kernel/ndb_limits.h:
New maximum size
ndb/include/kernel/signaldata/ScanFrag.hpp:
New error code
ndb/include/kernel/signaldata/ScanTab.hpp:
Need to go to Uint16 when batch size > 255
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Uint8 => Uint16 when batch_size > 255
New and changed methods for acc ptr's and
checking end of scan batch (incl. check of batch_byte_size
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Uint8 => Uint16 when batch_size > 255
New and changed methods for acc ptr's and
checking end of scan batch (incl. check of batch_byte_size
Not yet fully working
Scan reads work fine, not scan updates
ndb/include/kernel/ndb_limits.h:
Introducing a new parameter plus increasing the max no of parallel
operations per scan in LQH, first step in WL 2025
ndb/include/kernel/signaldata/ScanFrag.hpp:
Only need one clientOpPtr
Concurrency is batch_size to use in this scan
batch_byte_size is max no of bytes sent in a batch
first_batch_size is the batch size in the first batch
ndb/include/kernel/signaldata/ScanTab.hpp:
apiOperationPtr is sent as long signal data
batch_byte_size and first_batch_size is needed for further transport
to LQH
batch size can now be bigger than before
ndb/include/kernel/signaldata/TcKeyReq.hpp:
More concurrency means more size for scanInfo also in TCKEYREQ
ndb/include/ndbapi/NdbReceiver.hpp:
New subroutine to caclculate batch size and similar parameters
ndb/include/ndbapi/NdbScanOperation.hpp:
batch size calculated before sending, not necessary to store anymore
ndb/src/common/debugger/signaldata/ScanTab.cpp:
Updated signal printer for SCAN_TABREQ
ndb/src/kernel/blocks/backup/Backup.cpp:
Fixes to make it compile, not fixed for BACKUP being useful yet
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Removed parameters no longer needed and added some new ones.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Fix for cmaxAccOps that was using the wrong constant
Removed old code
New SCAN_FRAGREQ signal
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
New variables
Removed dead code
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
New SCAN_TABREQ, SCAN_FRAGREQ, SCAN_FRAGCONF and SCAN_TABCONF
Fixed some error handling to be more efficient
ndb/src/kernel/blocks/suma/Suma.cpp:
Fixes to make it compile, not yet usable for SUMA features
ndb/src/kernel/vm/Configuration.cpp:
Fix for wrong constant
ndb/src/ndbapi/NdbApiSignal.cpp:
Fix for not using constants
ndb/src/ndbapi/NdbApiSignal.hpp:
Added possibility to get signal sending node from signal
ndb/src/ndbapi/NdbConnectionScan.cpp:
Moved declaration
ndb/src/ndbapi/NdbReceiver.cpp:
New routine to calculate batch_size etc.
ndb/src/ndbapi/NdbScanOperation.cpp:
Various fixes for sending SCAN_TABREQ and other stuff
ndb/include/kernel/GlobalSignalNumbers.h:
Remove unused signal number for GSN_SCAN_TABINFO
ndb/include/kernel/signaldata/ScanTab.hpp:
Remove definition of old signal ScanTabInfo
ndb/src/common/debugger/signaldata/ScanTab.cpp:
Removed old print function for SCAN_TABINFO
ndb/src/common/debugger/signaldata/SignalNames.cpp:
Removed name for GSN_SCAN_TABINFO
ndb/src/ndbapi/NdbApiSignal.cpp:
Removed SCAN_TABINFO and old comment
ndb/src/ndbapi/NdbConnectionScan.cpp:
Removed duplicate definition of WAIFOR_SCAN_TIMEOUT, real one is in NdbScanOperation.cpp
ndb/src/ndbapi/NdbScanOperation.cpp:
Removed duplicate debug printout
ndb/src/ndbapi/Ndbif.cpp:
Removed SCAN_TABINFO
Still known bugs :-(
ndb/include/kernel/signaldata/ScanTab.hpp:
Add close flag
ndb/include/ndbapi/NdbConnection.hpp:
Moved mehtod outside
ndb/include/ndbapi/NdbScanOperation.hpp:
Removed err code from
ndb/src/common/debugger/signaldata/ScanTab.cpp:
Updated printer
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
New error inserts for SCAN
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Update handling of frag timeouts
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Update handling of frag timeouts
ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp:
Don't send empty TRANSID_AI's
ndb/src/ndbapi/NdbConnectionScan.cpp:
Update error handling of scan
ndb/src/ndbapi/NdbScanOperation.cpp:
Update error handling of scan
ndb/src/ndbapi/Ndbif.cpp:
Update error handling of scan