Page MenuHomePhabricator

D4031.id12944.diff
No OneTemporary

D4031.id12944.diff

diff --git a/services/backup/src/Reactors/server/CreateNewBackupReactor.cpp b/services/backup/src/Reactors/server/CreateNewBackupReactor.cpp
--- a/services/backup/src/Reactors/server/CreateNewBackupReactor.cpp
+++ b/services/backup/src/Reactors/server/CreateNewBackupReactor.cpp
@@ -8,8 +8,7 @@
namespace network {
namespace reactor {
-std::string
-CreateNewBackupReactor::generateBackupID() {
+std::string CreateNewBackupReactor::generateBackupID() {
return generateUUID();
}
@@ -53,7 +52,7 @@
this->userID + "] already exists, creation aborted");
}
response->set_backupid(this->backupID);
- this->holder = this->backupID;
+ this->holder = generateHolder(this->dataHash, this->backupID);
this->putReactor = std::make_shared<reactor::BlobPutClientReactor>(
this->holder, this->dataHash, &this->blobPutDoneCV);
this->blobClient.put(this->putReactor);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 8:16 AM (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2519775
Default Alt Text
D4031.id12944.diff (923 B)

Event Timeline