Anti-entropy sync GenServer that periodically compares local objects with remote replicas and reconciles differences.
Configurable via application env:
:sync_interval- milliseconds between sync runs (default: 300_000 = 5 minutes):delete_orphans- whether to delete objects on replica that don't exist locally (default: false)
Summary
Functions
Returns a specification to start this module under a supervisor.
Trigger an immediate sync cycle.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec sync_now() :: :ok
Trigger an immediate sync cycle.
@spec sync_now(GenServer.server()) :: :ok