MySQL 5.6.14 Source Code Document
|
#include <Dbtc.hpp>
Public Types | |
enum | ScanFragState { IDLE = 0, WAIT_GET_PRIMCONF = 1, LQH_ACTIVE = 2, DELIVERED = 4, QUEUED_FOR_DELIVERY = 6, COMPLETED = 7 } |
Public Member Functions | |
void | startFragTimer (Uint32 timeVal) |
void | stopFragTimer (void) |
Public Attributes | |
Uint32 | scanFragTimer |
Uint32 | scanFragId |
BlockReference | lqhBlockref |
Uint32 | m_connectCount |
ScanFragState | scanFragState |
Uint32 | scanRec |
Uint8 | m_scan_frag_conf_status |
Uint32 | m_ops |
Uint32 | m_chksum |
Uint32 | m_apiPtr |
Uint32 | m_totalLen |
union { | |
Uint32 nextPool | |
Uint32 nextList | |
}; | |
Uint32 | prevList |
There is max 16 ScanFragRec's for each scan started in TC. Each ScanFragRec is used by a scan fragment "process" that scans one fragment at a time. It will receive max 16 tuples in each request
ScanFragState WAIT_GET_PRIMCONF : Waiting for DIGETPRIMCONF when starting a new fragment scan LQH_ACTIVE : The scan process has sent a command to LQH and is waiting for the response LQH_ACTIVE_CLOSE : The scan process has sent close to LQH and is waiting for the response DELIVERED : The result have been delivered, this scan frag process are waiting for a SCAN_NEXTREQ to tell us to continue scanning RETURNING_FROM_DELIVERY : SCAN_NEXTREQ received and continuing scan soon QUEUED_FOR_DELIVERY : Result queued in TC and waiting for delivery to API COMPLETED : The fragment scan processes has completed and finally sent a SCAN_PROCCONF