Page MenuHomePhabricator

D3420.id10587.diff
No OneTemporary

D3420.id10587.diff

diff --git a/services/backup/docker-server/contents/server/src/DatabaseEntities/BackupItem.h b/services/backup/docker-server/contents/server/src/DatabaseEntities/BackupItem.h
--- a/services/backup/docker-server/contents/server/src/DatabaseEntities/BackupItem.h
+++ b/services/backup/docker-server/contents/server/src/DatabaseEntities/BackupItem.h
@@ -9,6 +9,16 @@
namespace network {
namespace database {
+/**
+ * this class is used for representing two things: the rows in the main table,
+ * and also the rows in the secondary index
+ *
+ * Needs userID(pk)-created(sk)-index that projects:
+ * userID
+ * backupID
+ * created
+ * recoveryData
+ */
class BackupItem : public Item {
std::string userID;
diff --git a/services/blob/docker-server/contents/server/src/DatabaseEntities/ReverseIndexItem.h b/services/blob/docker-server/contents/server/src/DatabaseEntities/ReverseIndexItem.h
--- a/services/blob/docker-server/contents/server/src/DatabaseEntities/ReverseIndexItem.h
+++ b/services/blob/docker-server/contents/server/src/DatabaseEntities/ReverseIndexItem.h
@@ -8,6 +8,11 @@
namespace network {
namespace database {
+/**
+ * Needs blobHash(pk)-index that projects:
+ * blobHash
+ * holder
+ */
class ReverseIndexItem : public Item {
std::string holder;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 4:04 AM (9 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2707523
Default Alt Text
D3420.id10587.diff (1 KB)

Event Timeline