]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: new session_timeout mechanism that is not subscribe-based
authorSage Weil <sage@redhat.com>
Tue, 6 Oct 2015 19:11:03 +0000 (15:11 -0400)
committerSage Weil <sage@redhat.com>
Mon, 23 Nov 2015 13:38:48 +0000 (08:38 -0500)
commite5fc790329e5209acd5218bf78ab3aa704f8a1e0
tree585d3dd5460c19af6fd874310f7134e259e21116
parent536c70281a8952358e8d88a6ff8d7cd9b8db5a76
mon: new session_timeout mechanism that is not subscribe-based

Simplify the session liveness detection:

 - renew on any message
 - renew on keepalive[2] messages (lightweight ping in msgr)

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