Commit 001054c8 authored by Marc Vef's avatar Marc Vef
Browse files

Ignore self mode to be able to ignore na+sm during psm2

parent 9ea69b2a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -239,6 +239,10 @@ void load_hosts() {
    for (const auto& id: host_ids) {
        const auto& hostname = hosts.at(id).first;
        const auto& uri = hosts.at(id).second;
        if (gkfs::config::ignore_self) {
            if (hostname == local_hostname)
                break;
        }

        if (!local_host_found && hostname == local_hostname) {
            LOG(DEBUG, "Found local host: {}", hostname);