mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 18:50:04 +00:00
sync: pull: mention why last snapshot of previous sync is resynced
The last snapshot synced during the previous sync job might not have been fully completed just yet (e.g. backup log still missing, verification still ongoing, ...). Explicitley mention the reason and that the resync is therefore intentional by a comment in the filter logic. Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
1e36930e0b
commit
b752b8cb96
@ -528,6 +528,8 @@ async fn pull_group(
|
||||
.enumerate()
|
||||
.filter(|&(pos, ref dir)| {
|
||||
source_snapshots.insert(dir.time);
|
||||
// Note: Last sync times final snapshot might not have been completely
|
||||
// done yet on the source side, keep it include for a resync.
|
||||
if last_sync_time > dir.time {
|
||||
already_synced_skip_info.update(dir.time);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user