private void write(Session existingSession, LocalSession session, ApplicationId applicationId, Instant created) {

        SessionSerializer sessionSerializer = new SessionSerializer();
        sessionSerializer.write(session.getSessionZooKeeperClient(),
                                applicationId,
                                created,
                                existingSession.getApplicationPackageReference(),
                                existingSession.getDockerImageRepository(),
                                existingSession.getVespaVersion(),
                                existingSession.getVersionToBuildFirst(),
                                existingSession.getAthenzDomain(),
                                existingSession.getQuota(),
                                existingSession.getTenantVaults(),
                                existingSession.getTenantSecretStores(),
                                existingSession.getOperatorCertificates(),
                                existingSession.getCloudAccount(),
                                existingSession.getDataplaneTokens(),
                                ActivationTriggers.empty(),
                                writeSessionData);
    }
A session for which we don't have a watcher, i.e. hitherto unknown to us.

@param sessionId session id for the new session
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionRepository.java