private void writeTenantPath(TenantName name) {
        try (Lock lock = tenantLocks.lock(name)) {
            curator.createAtomically(TenantRepository.getTenantPath(name),
                                     TenantRepository.getSessionsPath(name),
                                     TenantRepository.getApplicationsPath(name),
                                     TenantRepository.getLocksPath(name));
        }
    }
Writes the path of the given tenant into ZooKeeper, for watchers to react on

@param name name of the tenant
configserver/src/main/java/com/yahoo/vespa/config/server/tenant/TenantRepository.java