Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3540099
D3420.id10555.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
D3420.id10555.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 4:25 AM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2707523
Default Alt Text
D3420.id10555.diff (1 KB)
Attached To
Mode
D3420: [services] Add comments about indexes
Attached
Detach File
Event Timeline
Log In to Comment