pub fn resolve_and_apply_changeset(
conn: &Connection,
store_dir: &StoreDir,
bytes: &[u8],
tables: &[SyncedTable],
receiver_wall_ms: u64,
) -> Result<ApplyResult, DbError>Expand description
Apply bytes to conn, resolving conflicts (premerge + row arbitration),
building the TableSchema from tables once. A convenience wrapper over
resolve_and_apply_changeset_with_schema for callers that apply a single
changeset and don’t already hold a schema (tests, snapshot round-trips).
receiver_wall_ms is the receiver’s current wall-clock millis, against which
a grossly-future incoming _updated_at is refused (see arbitrate_row_conflict).