Page MenuHomePhabricator

[services] Add comments about indexes
ClosedPublic

Authored by karol on Mar 14 2022, 8:50 AM.
Tags
None
Referenced Files
F1773293: D3420.diff
Wed, May 15, 11:17 PM
Unknown Object (File)
Tue, Apr 23, 5:48 PM
Unknown Object (File)
Tue, Apr 23, 5:48 PM
Unknown Object (File)
Tue, Apr 23, 5:48 PM
Unknown Object (File)
Tue, Apr 23, 5:48 PM
Unknown Object (File)
Tue, Apr 23, 5:44 PM
Unknown Object (File)
Mar 18 2024, 11:03 AM
Unknown Object (File)
Mar 16 2024, 12:43 AM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #10335)

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.