]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: exponential backoff on pg stats ack timeout
authorSage Weil <sage@redhat.com>
Tue, 15 Sep 2015 20:08:02 +0000 (16:08 -0400)
committerSage Weil <sage@redhat.com>
Sat, 14 Nov 2015 03:42:41 +0000 (22:42 -0500)
commitfacd36fc14bb855e950fd55a764444f8887e0828
tree1dc2e239a2fbda1c123b4ca144ea69b6d7bb90cb
parent25888bb7f5be5825c3a0d8a6fec3a459e1d678ef
osd: exponential backoff on pg stats ack timeout

If we don't get a timely response to our pg stats update we fail
the mon connection and reconnect to a new mon.  If the mons aren't
responding because they are overloaded (for example, because they
are overwhelmed with stats updates) this just makes the problem
worse.

Mitigate the situation by doing an exponential backoff on the
timeout.  When we do successfully send an update, slowly decay the
timeout back to the initial value.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h