]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: don't send dup subscribes so much
authorSage Weil <sage@redhat.com>
Mon, 28 Sep 2015 21:22:01 +0000 (17:22 -0400)
committerSage Weil <sage@redhat.com>
Mon, 23 Nov 2015 13:36:15 +0000 (08:36 -0500)
commit21ca0b591aa495586f771b11a2ad2f5d9b920dfb
tree33ea555e1cbdd2cb36e25596a35eed7361d12b6d
parentd4f813b37576992803c950da0faf0c98d64e9561
osd: don't send dup subscribes so much

The subscribe MonClient service is stateful--we don't need to
force a new subscribe send unless sub_want() says we need to.

Keep forcing it for instances where we request an *old* map.

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