Skip to content
Snippets Groups Projects
Commit 395add80 authored by ajf5's avatar ajf5
Browse files

bug fix

parent 5c785ef0
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -861,6 +861,7 @@ void Node::handleTcpMessage()
while (start < lines){
s = file + "::" + to_string(start);
id = mapleRing->locateClosestNode(s);
srand(time(NULL));
vector<int> temp = randItems(1, fileList[file]);
string sender = hashRing->getValue(temp[0]); //because files are part of sdfs anyone can be the sender
string processor = mapleRing->getValue(id); //processor is a maple worker
......
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