Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3278287
D4031.id12944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
923 B
Referenced Files
None
Subscribers
None
D4031.id12944.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4031: [services] Backup - use generateHolder for new backup
Attached
Detach File
Event Timeline
Log In to Comment