Page MenuHomePhabricator

[services] Add comments about indexes
ClosedPublic

Authored by karol on Mar 14 2022, 8:50 AM.
Tags
None
Referenced Files
F3540104: D3420.id10335.diff
Thu, Dec 26, 4:28 AM
F3540099: D3420.id10555.diff
Thu, Dec 26, 4:25 AM
F3539964: D3420.id10587.diff
Thu, Dec 26, 4:04 AM
F3535702: D3420.diff
Wed, Dec 25, 4:51 PM
Unknown Object (File)
Fri, Dec 20, 6:35 PM
Unknown Object (File)
Fri, Dec 20, 6:35 PM
Unknown Object (File)
Fri, Dec 20, 6:35 PM
Unknown Object (File)
Fri, Dec 20, 6:35 PM

Details

Summary

Raised here https://phabricator.ashoat.com/D3087#86770

Adding comments in places where database indexes are needed.

Test Plan

None, these are just comments

Diff Detail

Repository
rCOMM Comm
Branch
backup-follow-up
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat requested changes to this revision.Mar 14 2022, 11:12 AM
ashoat added inline comments.
services/backup/docker-server/contents/server/src/DatabaseEntities/BackupItem.h
13–17

My initial request was:

[comment] clarifying that this class is used for representing two things: the rows in the main table, and also the rows in the secondary index

This comment doesn't seem to provide that clarification. Is my understanding correcrt, that BackupItem is used for representing both rows in the main table, as well as rows in the secondary index? If so, can you add a comment making that clear?

This revision now requires changes to proceed.Mar 14 2022, 11:12 AM
This revision is now accepted and ready to land.Mar 21 2022, 7:23 AM
This revision was automatically updated to reflect the committed changes.