Reenable exchange kopia assisted incrementals (#4411)
Allow creation of lazy collections and lazy items again thus allowing exchange kopia assisted incrementals. Manually tested that a backup where an email switches folders after enumeration results in an empty file in kopia except for the serialization header which includes the deleted in flight flag. The next backup removes the empty file from the folder in kopia. The item doesn't appear in backup details since it has no data --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change - [x] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) * #2023 #### Test Plan - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
a09f93aef7
commit
fc508d7160
@ -160,7 +160,7 @@ func populateCollections(
|
||||
|
||||
ictx = clues.Add(ictx, "previous_path", prevPath)
|
||||
|
||||
added, _, removed, newDelta, err := bh.itemEnumerator().
|
||||
added, validModTimes, removed, newDelta, err := bh.itemEnumerator().
|
||||
GetAddedAndRemovedItemIDs(
|
||||
ictx,
|
||||
qp.ProtectedResource.ID(),
|
||||
@ -199,9 +199,7 @@ func populateCollections(
|
||||
bh.itemHandler(),
|
||||
added,
|
||||
removed,
|
||||
// TODO(ashmrtn): Set to value returned by pager when we have deletion
|
||||
// markers in files.
|
||||
false,
|
||||
validModTimes,
|
||||
statusUpdater)
|
||||
|
||||
collections[cID] = edc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user