Page MenuHomePhabricator

[services] Backup - Database manager - Add findLogItem
ClosedPublic

Authored by karol on May 19 2022, 3:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 4:39 PM
Unknown Object (File)
Fri, Dec 20, 6:37 AM
Unknown Object (File)
Fri, Dec 20, 1:02 AM
Unknown Object (File)
Wed, Dec 18, 4:26 AM
Unknown Object (File)
Sun, Dec 15, 4:24 PM
Unknown Object (File)
Sat, Dec 14, 9:59 AM
Unknown Object (File)
Sat, Dec 14, 8:38 AM
Unknown Object (File)
Sat, Dec 14, 3:39 AM

Details

Summary

Depends on D4078

Adding findLogItem method to the backup's database manager.

Test Plan

Services can still be built.

It's hard to really test this at this point. This method's going to be used later in the stack.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol edited the summary of this revision. (Show Details)
karol edited the test plan for this revision. (Show Details)
karol added a reviewer: tomek.

Todo: I'm going to try to add this method to the backup's tests.

karol edited the summary of this revision. (Show Details)

add this method to tests

tomek requested changes to this revision.May 23 2022, 5:15 AM
tomek added inline comments.
services/backup/src/DatabaseManager.cpp
134 ↗(On Diff #12937)

I think we concluded that we shouldn't move while returning. We're moveing in a couple of places in this file - could you check what's going on?

services/backup/test/DatabaseManagerTest.cpp
74–75 ↗(On Diff #12937)

Can we check if the content of items matches?

This revision now requires changes to proceed.May 23 2022, 5:15 AM
This revision is now accepted and ready to land.May 24 2022, 3:32 AM