open-consul/agent/ae
Frank Schroeder e7051da8d1
agent: decouple anti-entropy from local state
The anti-entropy code manages background synchronizations of the local
state on a regular basis or on demand when either the state has changed
or a new consul server has been added.

This patch moves the anti-entropy code into its own package and
decouples it from the local state code since they are performing
two different functions.

To simplify code-review this revision does not make any optimizations,
renames or refactorings. This will happen in subsequent commits.
2017-10-23 10:56:03 +02:00
..
ae.go agent: decouple anti-entropy from local state 2017-10-23 10:56:03 +02:00
ae_test.go agent: decouple anti-entropy from local state 2017-10-23 10:56:03 +02:00