16 #include "BackupProxy.hpp"
23 addRecSignal(GSN_UTIL_SEQUENCE_CONF, &BackupProxy::execUTIL_SEQUENCE_CONF);
24 addRecSignal(GSN_UTIL_SEQUENCE_REF, &BackupProxy::execUTIL_SEQUENCE_REF);
27 BackupProxy::~BackupProxy()
32 BackupProxy::newWorker(Uint32 instanceNo)
34 return new Backup(m_ctx, instanceNo);
40 BackupProxy::callSTTOR(
Signal* signal)
42 Ss_READ_NODES_REQ& ss = c_ss_READ_NODESREQ;
43 ndbrequire(ss.m_gsn == 0);
45 const Uint32 startPhase = signal->theData[1];
49 sendREAD_NODESREQ(signal);
52 if (c_typeOfStart == NodeState::ST_INITIAL_START &&
53 c_masterNodeId == getOwnNodeId()) {
55 sendUTIL_SEQUENCE_REQ(signal);
66 static const Uint32 BACKUP_SEQUENCE = 0x1F000000;
69 BackupProxy::sendUTIL_SEQUENCE_REQ(
Signal* signal)
73 req->senderData = RNIL;
74 req->sequenceId = BACKUP_SEQUENCE;
75 req->requestType = UtilSequenceReq::Create;
77 sendSignal(DBUTIL_REF, GSN_UTIL_SEQUENCE_REQ,
78 signal, UtilSequenceReq::SignalLength, JBB);
82 BackupProxy::execUTIL_SEQUENCE_CONF(
Signal* signal)
88 BackupProxy::execUTIL_SEQUENCE_REF(
Signal* signal)