LavinMQ::Clustering::Replicator
Instance methods
offset is the absolute byte position the value/bytes are written at on
the leader; used to skip appends a just-joined follower already received
via full_sync (see Server#append). Distinct names avoid colliding with
the positional append(path, pos, length) overload.
ISR bookkeeping for the publish-confirm path: a confirm may only be sent against an ISR that is committed to the coordinator (see Persister#wait_for_followers).
Ask every in-sync follower to fsync these (absolute) paths, or to sync its whole data dir, before acking past what has been replicated so far. Callers then wait_for_followers.
Block until every in-sync follower has acked everything replicated so far, then commit any pending ISR change. Called after a durable operation has been dispatched and locally fsynced, before it is acknowledged to a client (publish confirms via the Persister, definition changes via the DefinitionsStore).