graphite-project / carbonate

Utilities for managing graphite clusters
MIT License
516 stars 80 forks source link

Missing newline in batch files causes rsync errors #131

Closed reyjrar closed 1 year ago

reyjrar commented 1 year ago
    * Running batch 2401-2700
      - Rsyncing metrics: rsync -azpS --copy-dest="/u2/carbon" --files-from /tmp/tmp1heicu_k carbon@1x.2x.3x.9x:/u2/carbon/ /tmp/1
    0.20.36.96dz00hbdq/
    ERROR: rejecting unrequested file-list name: whisper/diamond/xxxxxxx/xxxxxx/xxxxxx/memory/SwapFree.wsp
    rsync error: protocol incompatibility (code 2) at flist.c(911) [Receiver=3.1.2]
    WARNING:root:Failed to sync from carbon@1x.2x.3x.9x:/u2/carbon/! rsync rc=2

If I echo >> /tmp/tmp1heicu_k .failed and retry that rsync command, it's successful.

This is fixed in #130

reyjrar commented 1 year ago

Yay! PR merged :)