parity: --stats per-type deleted breakdown #316

Closed
opened 2026-09-23 02:10:49 +02:00 by TapTap · 1 comment
Owner

--stats reports Number of deleted files as a scalar; rsync gives a (reg/dir/link/special) breakdown.

Work: append deleted_reg/dir/link/special fields to the existing STATUS_STATS record and tally them in the delete observers (receiver_record_deleted_path/receiver_tally_deleted); render in client_report.c/format.c. Closes the --stats ⚠️ residual for the deleted breakdown (bytes-sent/received stay non-comparable, protocol-specific).

Files: src/server/receiver.c:63-115, src/shared/format.[ch], src/client/client_report.c.

`--stats` reports `Number of deleted files` as a scalar; rsync gives a `(reg/dir/link/special)` breakdown. **Work:** append `deleted_reg/dir/link/special` fields to the existing `STATUS_STATS` record and tally them in the delete observers (`receiver_record_deleted_path`/`receiver_tally_deleted`); render in `client_report.c`/`format.c`. Closes the `--stats` ⚠️ residual for the deleted breakdown (bytes-sent/received stay non-comparable, protocol-specific). Files: `src/server/receiver.c:63-115`, `src/shared/format.[ch]`, `src/client/client_report.c`.
TapTap added the enhancement label 2026-09-23 02:10:49 +02:00
Author
Owner

Fixed in PR #327 (protocol 2.30.0). STATUS_STATS grows deleted_reg/dir/link/special; Number of deleted files: X (reg: A, dir: B, link: C, special: D) matches rsync 3.4.1 (differential test). Closing as completed.

Fixed in PR #327 (protocol 2.30.0). `STATUS_STATS` grows `deleted_reg/dir/link/special`; `Number of deleted files: X (reg: A, dir: B, link: C, special: D)` matches rsync 3.4.1 (differential test). Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TapTap/FastSync#316