Skip to content
Snippets Groups Projects
Commit 04a27593 authored by ajf5's avatar ajf5
Browse files

bug fix

parent 52f3416c
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,6 @@ enum MessageType {
JUICESTART, //send to master to initiate juice phase
MAPLEACK,
CHUNK, //send to nodes so they have information about what kind of get request to send
APPEND, //process get request and send an append request, need to add this to all replicas too. Check into blackout stuff
APPENDACK,
CHUNKACK, //after append ack received, send this back to master to know when things are Done
};
......
......@@ -285,6 +285,10 @@ int TcpSocket::messageHandler(int sockfd, string payloadMessage, string returnIP
case DNSGET:
case DELETE:
case GETNULL:
case MAPLESTART:
case MAPLEACK:
case CHUNK:
case CHUNKACK:
case DNS:{
cout << "Type: " << msg.type << " payloadMessage: " << payloadMessage << endl;
regMessages.push(payloadMessage); //handle from queue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment