Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MP3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ajf5
MP3
Commits
04a27593
Commit
04a27593
authored
4 years ago
by
ajf5
Browse files
Options
Downloads
Patches
Plain Diff
bug fix
parent
52f3416c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inc/MessageTypes.h
+0
-2
0 additions, 2 deletions
inc/MessageTypes.h
src/TcpSocket.cpp
+4
-0
4 additions, 0 deletions
src/TcpSocket.cpp
with
4 additions
and
2 deletions
inc/MessageTypes.h
+
0
−
2
View file @
04a27593
...
...
@@ -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
};
...
...
This diff is collapsed.
Click to expand it.
src/TcpSocket.cpp
+
4
−
0
View file @
04a27593
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment