Skip to content

fix: daemon upload delete stats#954

Merged
tridge merged 1 commit into
RsyncProject:masterfrom
steadytao:fix/daemon-delete-stats
Jun 5, 2026
Merged

fix: daemon upload delete stats#954
tridge merged 1 commit into
RsyncProject:masterfrom
steadytao:fix/daemon-delete-stats

Conversation

@steadytao
Copy link
Copy Markdown
Contributor

Fixes #848 by changing daemon uploads reporting deleted files as zero in the final --stats summary.

When a daemon upload deletes destination-side files, the generator side already increments the deletion counters and itemised output can show *deleting. However, the delete-stats message could be skipped because it was gated on the daemon side's local stats info level rather than on whether delete handling was active.

This sends delete stats whenever delete handling is active, preserving the existing protocol-version and read-batch boundaries.

@tridge tridge force-pushed the fix/daemon-delete-stats branch from 69a09e9 to 080050b Compare June 5, 2026 00:34
@tridge tridge force-pushed the fix/daemon-delete-stats branch 2 times, most recently from 8a62019 to 380874e Compare June 5, 2026 01:00
@tridge tridge merged commit fb7daf0 into RsyncProject:master Jun 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stats reports zero deleted files

2 participants