[Bugs] [Bug 1254137] Rebalance fix-layout fails after some time with a timeout

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 9 06:54:17 UTC 2015


--- Comment #9 from Raghavendra G <rgowdapp at redhat.com> ---

                gettimeofday (&current, NULL);
                if (((current.tv_sec - conn->last_received.tv_sec) <
                    || ((current.tv_sec - conn->last_sent.tv_sec) <
                        conn->ping_timeout)) {
                        transport_activity = 1;

                if (transport_activity) {
                        gf_log (trans->name, GF_LOG_TRACE,
                                "ping timer expired but transport activity "
                                "detected - not bailing transport");

                        if (__rpc_clnt_rearm_ping_timer (rpc,
                                         rpc_clnt_ping_timer_expired) == -1) {
                                gf_log (trans->name, GF_LOG_WARNING,
                    "unable to setup ping timer");

                } else {
                        conn->ping_started = 0;
                        disconnect = 1;


As can be seen above, ping_timer_expired takes "transport_activity" into
account before actually disconnecting (Its not just ping response we are
looking at). Hence RCA in previous comment is most likely wrong.

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=KTHQXq65jW&a=cc_unsubscribe

More information about the Bugs mailing list