summaryrefslogtreecommitdiff
path: root/ndb/include/kernel/signaldata/TcKeyReq.hpp
diff options
context:
space:
mode:
authorunknown <mronstrom@mysql.com>2004-08-09 17:43:15 +0200
committerunknown <mronstrom@mysql.com>2004-08-09 17:43:15 +0200
commitfd566261a475a6dde7ac308583739079ff237ffd (patch)
treeb2898455b4f208aac69f25a6381573822fd990ea /ndb/include/kernel/signaldata/TcKeyReq.hpp
parent01e1451ad8b61d1ad9b722617d18c7619e25942b (diff)
downloadmariadb-git-fd566261a475a6dde7ac308583739079ff237ffd.tar.gz
First step for WL 2025
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
Diffstat (limited to 'ndb/include/kernel/signaldata/TcKeyReq.hpp')
-rw-r--r--ndb/include/kernel/signaldata/TcKeyReq.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ndb/include/kernel/signaldata/TcKeyReq.hpp b/ndb/include/kernel/signaldata/TcKeyReq.hpp
index f7d3c2e3282..ba0f1a5ed8c 100644
--- a/ndb/include/kernel/signaldata/TcKeyReq.hpp
+++ b/ndb/include/kernel/signaldata/TcKeyReq.hpp
@@ -228,21 +228,21 @@ private:
* Scan Info
*
t = Scan take over indicator - 1 Bit
- n = Take over node - 16 Bits -> max 65535
- p = Scan Info - 12 Bits -> max 4095
+ n = Take over node - 12 Bits -> max 65535
+ p = Scan Info - 18 Bits -> max 4095
1111111111222222222233
01234567890123456789012345678901
- tpppppppppppp nnnnnnnnnnnnnnnn
+ tpppppppppppppppppp nnnnnnnnnnnn
*/
#define TAKE_OVER_SHIFT (0)
-#define TAKE_OVER_NODE_SHIFT (16)
-#define TAKE_OVER_NODE_MASK (65535)
+#define TAKE_OVER_NODE_SHIFT (20)
+#define TAKE_OVER_NODE_MASK (4095)
#define SCAN_INFO_SHIFT (1)
-#define SCAN_INFO_MASK (4095)
+#define SCAN_INFO_MASK (262143)
/**
* Attr Len