mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 07:05:33 +02:00
ndb - add support for blocking/unblocking GCP using WAIT_GCP_REQ
ndb/include/kernel/signaldata/WaitGCP.hpp: Add supprt for block/unblocking GCP ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Add supprt for block/unblocking GCP
This commit is contained in:
parent
e2b6987af1
commit
7efbf0af07
2 changed files with 33 additions and 2 deletions
|
|
@ -46,7 +46,9 @@ public:
|
|||
Complete = 1, ///< Wait for a GCP to complete
|
||||
CompleteForceStart = 2, ///< Wait for a GCP to complete start one if needed
|
||||
CompleteIfRunning = 3, ///< Wait for ongoing GCP
|
||||
CurrentGCI = 8 ///< Immediately return current GCI
|
||||
CurrentGCI = 8, ///< Immediately return current GCI
|
||||
BlockStartGcp = 9,
|
||||
UnblockStartGcp = 10
|
||||
};
|
||||
|
||||
Uint32 senderRef;
|
||||
|
|
@ -70,11 +72,12 @@ class WaitGCPConf {
|
|||
//friend class Grep::PSCoord;
|
||||
|
||||
public:
|
||||
STATIC_CONST( SignalLength = 2 );
|
||||
STATIC_CONST( SignalLength = 3 );
|
||||
|
||||
public:
|
||||
Uint32 senderData;
|
||||
Uint32 gcp;
|
||||
Uint32 blockStatus;
|
||||
};
|
||||
|
||||
class WaitGCPRef {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue