Commit 29571b95 authored by Paras Garg's avatar Paras Garg

Added code for follower

parent 71c35087
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
.vscode/ .vscode/
.build/* .build/*
fol fol
*.txt *.txt
\ No newline at end of file prop.config
\ No newline at end of file
#For commenting used # empty line are ignored
#comments after parameters also supported
# use key=value format
#All Parameters will be taken as string
# Fixed Parameters
sendQS=50
recvQS=50
compQS=50
sendMS=500
recvMS=500
DB_PATH=/tmp/testdb1
EXECUTOR_POOL_SIZE=4
ENABLE_LOGGING=1
SERVER_IP=192.168.200.20
SERVER_PORT=1921
FOLLOWERS=1
FOLLOWER1_IP=192.168.200.20
FOLLOWER1_PORT=1920
FOLLOWER2_IP=192.168.200.20
FOLLOWER2_IP=1921
\ No newline at end of file
...@@ -179,7 +179,9 @@ void TaskThread::processRepEvent(RdmaRepEndpoint *ep, struct ibv_wc *data) ...@@ -179,7 +179,9 @@ void TaskThread::processRepEvent(RdmaRepEndpoint *ep, struct ibv_wc *data)
ep->processPut(req); ep->processPut(req);
break; break;
default: default:
CPPLog::LOG_ERROR("SalRequest invalid req type"); std::ostringstream ss;
ss<<"RepRequest invalid req type"<<data->opcode;
CPPLog::LOG_ERROR(ss);
break; break;
} }
delete[] buffer; delete[] buffer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment