mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
380 stars 60 forks source link

Bump lvmsync protocol version and update receiver #14

Closed AnchorCat closed 9 years ago

AnchorCat commented 10 years ago

cc6ad8b changed the lvmsync protocol from expressing offsets in chunks to bytes, but the protocol version and receiver code weren't updated, resulting in incorrectly applied diffs. This patch updates the receiver to correctly handle the new protocol, and also increases the protocol version so as not to confuse older clients.