merge
Merge an Rga received from another replica (via anti-entropy / gossip) into this exporter's state, then flush the merged result to store.
Idempotent: merging the same Rga twice produces the same result. A merge that adds nothing to this exporter's log writes no segment and spends no segment number. The one exception is the first merge after a failed one, which persists the whole log so the failed merge's records reach the store. An export that dedups against one of those records before any merge does persists the same whole log, and the next merge then owes nothing.
remote's whole operation log is published to AppliedOpSink — see that type, and publishApplied's call site below, for why the merge path publishes at all and why it publishes everything rather than only what was new here.
Never throws, on the same terms as export: a failure in the CRDT join, the dedup rebuild, the encode, or the store is returned as ExportResult.Failure and reflected on health.