saltstack/salt — Issue #619: Only send over changed files during state.highstate
Author: syphernl
Created: 2012-01-31 20:00:09+00:00
State: open

Correct me if I'm wrong, but it looks like all files are being sent to the minions when ```state.highstate``` is being ran, according to the several "_serve_file" calls I'm seeing in my master log.

This is not very optimal, because most of the time time nothing has changed (especially not in ALL files at the same time) and serving full files that aren't even going to be used is quite a waste of IO/cpu cycles/bandwidth.

I'm not sure whether the full file or only the delta's are being sent but thats not clear from the logfile.
In any case, we should ensure this is as optimal as possible in order to also optimize this for WAN deployments.