Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3353856
D3720.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3720.diff
View Options
diff --git a/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobGetClientReactor.h b/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobGetClientReactor.h
--- a/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobGetClientReactor.h
+++ b/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobGetClientReactor.h
@@ -28,6 +28,7 @@
std::unique_ptr<grpc::Status>
readResponse(blob::GetResponse &response) override;
void doneCallback() override;
+ grpc::Status getStatus() const;
};
BlobGetClientReactor::BlobGetClientReactor(
@@ -49,6 +50,10 @@
this->dataChunks->write("");
}
+grpc::Status BlobGetClientReactor::getStatus() const {
+ return this->status;
+}
+
} // namespace reactor
} // namespace network
} // namespace comm
diff --git a/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobPutClientReactor.h b/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobPutClientReactor.h
--- a/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobPutClientReactor.h
+++ b/services/backup/docker-server/contents/server/src/Reactors/client/blob/BlobPutClientReactor.h
@@ -46,6 +46,7 @@
blob::PutRequest &request,
std::shared_ptr<blob::PutResponse> previousResponse) override;
void doneCallback() override;
+ grpc::Status getStatus() const;
};
BlobPutClientReactor::BlobPutClientReactor(
@@ -95,6 +96,10 @@
this->terminationNotifier->notify_one();
}
+grpc::Status BlobPutClientReactor::getStatus() const {
+ return this->status;
+}
+
} // namespace reactor
} // namespace network
} // namespace comm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 11:33 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575234
Default Alt Text
D3720.diff (1 KB)
Attached To
Mode
D3720: [services] Backup - Blob client reactors - add getStatus
Attached
Detach File
Event Timeline
Log In to Comment