Base/inner functions for the database manager. This diff may be beneficial for this task https://linear.app/comm/issue/ENG-324/avoid-repetitions-in-services-code because this is the mutual code that may be put in a separate place.
Depends on D3081
Paths
| Differential D3082 Authored by • karol on Feb 3 2022, 6:49 AM.
Details Summary Base/inner functions for the database manager. This diff may be beneficial for this task https://linear.app/comm/issue/ENG-324/avoid-repetitions-in-services-code because this is the mutual code that may be put in a separate place. Depends on D3081 Test Plan cd services yarn run-backup-service Still builds
Diff Detail
Event TimelineHerald added subscribers: atul, • adrian, tomek, ashoat. · View Herald TranscriptFeb 3 2022, 6:49 AM2022-02-03 06:49:17 (UTC-8) Harbormaster completed remote builds in B6480: Diff 9212.Feb 3 2022, 8:33 AM2022-02-03 08:33:23 (UTC-8) Comment Actions I guess this code was tested with later diffs, but it would be nice if test plan was not just . for arc to allow creating a diff, but some explanation. Even if it's hard to test a diff in isolation (which we should aim for), we can describe which parts of the whole testing procedure specifically verified the given diff. This revision is now accepted and ready to land.Feb 7 2022, 3:10 AM2022-02-07 03:10:27 (UTC-8) Herald added a reviewer: ashoat. · View Herald TranscriptFeb 7 2022, 3:10 AM2022-02-07 03:10:27 (UTC-8) This revision now requires review to proceed.Feb 7 2022, 3:10 AM2022-02-07 03:10:27 (UTC-8) Comment Actions I agree – the test plan should always be included. In my most recent stack (React Native upgrade) I had a test plan that I copy-pasted for many of the diffs, but for each diff I thought about the test plan. In many cases I specified something more specific than the copy-paste, and only used the copy-paste when it actually applied.
This revision now requires changes to proceed.Feb 7 2022, 9:45 AM2022-02-07 09:45:12 (UTC-8) • karol edited the summary of this revision. (Show Details)Feb 8 2022, 1:25 AM2022-02-08 01:25:15 (UTC-8) • karol added a child revision: D3084: [services] Backup - Database - add Log Item.Feb 8 2022, 1:39 AM2022-02-08 01:39:07 (UTC-8) • karol edited the summary of this revision. (Show Details)Feb 8 2022, 1:46 AM2022-02-08 01:46:48 (UTC-8) Harbormaster completed remote builds in B6609: Diff 9365.Feb 8 2022, 1:58 AM2022-02-08 01:58:43 (UTC-8) tomek added inline comments.
This revision now requires changes to proceed.Feb 8 2022, 8:14 PM2022-02-08 20:14:44 (UTC-8) Comment Actions Sorry about not addressing the comments. So the main problem here is the test plan. I'm not really sure what I could do as a test for this change. There are just some template functions. Once they're used in some specialized examples, it will be easier to come up with a testing plan for them.
Otherwise I don't really know what to put there.
Harbormaster completed remote builds in B6668: Diff 9439.Feb 9 2022, 4:11 AM2022-02-09 04:11:51 (UTC-8) Comment Actions That test plan is certainly better than nothing :) I think some of the DynamoDB stuff would need to be tested, but hoping/assuming that gets handled down the line. This revision is now accepted and ready to land.Feb 9 2022, 9:34 PM2022-02-09 21:34:08 (UTC-8) • karol edited the summary of this revision. (Show Details)Feb 10 2022, 6:32 AM2022-02-10 06:32:40 (UTC-8) Closed by commit rCOMM34f2b5fee085: [services] Backup - add Database Manager base (authored by • karol). · Explain WhyMar 4 2022, 3:55 AM2022-03-04 03:55:30 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 10056 services/backup/docker-server/contents/server/src/DatabaseManager.h
services/backup/docker-server/contents/server/src/DatabaseManager.cpp
|