db/update/Walk: use marker to remove deleted items
This eliminates all `Storage::GetInfo()` calls from `UpdateWalk::PurgeDeletedFromDirectory()` and instead uses a "marker" field to mark items that have been visited; later, all unmarked items can be deleted. This eliminates a lot of redundant I/O which is noticable with the `curl` storage plugin (i.e. WebDAV).
This commit is contained in:
Reference in New Issue
Block a user