private void deleteSession() {
        sessionRepository().deleteLocalSession(session.getSessionId());
        try (var transaction = sessionRepository().createSetStatusTransaction(session, DELETE)) {
            transaction.commit();
        }
    }
Activates this. If it is not already prepared, this will call prepare first.
configserver/src/main/java/com/yahoo/vespa/config/server/deploy/Deployment.java