Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3355634
D3612.id11134.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
804 B
Referenced Files
None
Subscribers
None
D3612.id11134.diff
View Options
diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
--- a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
+++ b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
@@ -44,6 +44,14 @@
this->state = State::LOG_CHUNK;
return nullptr;
};
+ case State::LOG_CHUNK: {
+ if (!request.has_logdata()) {
+ throw std::runtime_error("log data expected but not received");
+ }
+ std::string chunk = request.logdata();
+ std::cout << "log data received " << chunk << std::endl;
+ return nullptr;
+ };
}
throw std::runtime_error("send log - invalid state");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 2:50 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576460
Default Alt Text
D3612.id11134.diff (804 B)
Attached To
Mode
D3612: [services] Backup - Apply reading log chunk in send log reactor
Attached
Detach File
Event Timeline
Log In to Comment