Search in sources :

Example 6 with RejoinMessage

use of org.voltdb.messaging.RejoinMessage in project voltdb by VoltDB.

the class ElasticJoinProducer method sendFirstFragResponse.

/**
     * Notify the coordinator that this site has received the first fragment message
     */
private void sendFirstFragResponse() {
    if (JOINLOG.isDebugEnabled()) {
        JOINLOG.debug("P" + m_partitionId + " sending first fragment response to coordinator " + CoreUtils.hsIdToString(m_coordinatorHsId));
    }
    RejoinMessage msg = new RejoinMessage(m_mailbox.getHSId(), RejoinMessage.Type.FIRST_FRAGMENT_RECEIVED);
    m_mailbox.send(m_coordinatorHsId, msg);
    m_firstFragResponseSent = true;
}
Also used : RejoinMessage(org.voltdb.messaging.RejoinMessage)

Aggregations

RejoinMessage (org.voltdb.messaging.RejoinMessage)6 IOException (java.io.IOException)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1 ExecutionException (java.util.concurrent.ExecutionException)1 DRConsumerDrIdTracker (org.voltdb.DRConsumerDrIdTracker)1 SiteProcedureConnection (org.voltdb.SiteProcedureConnection)1 SnapshotCompletionEvent (org.voltdb.SnapshotCompletionInterest.SnapshotCompletionEvent)1 Type (org.voltdb.messaging.RejoinMessage.Type)1 StreamSnapshotSink (org.voltdb.rejoin.StreamSnapshotSink)1 TaskLog (org.voltdb.rejoin.TaskLog)1 SnapshotPathType (org.voltdb.sysprocs.saverestore.SnapshotPathType)1