]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix off-by-one is boot subscription 1313/head
authorSage Weil <sage@inktank.com>
Sat, 22 Feb 2014 16:08:37 +0000 (08:08 -0800)
committerGreg Farnum <greg@inktank.com>
Tue, 25 Feb 2014 19:42:12 +0000 (11:42 -0800)
commitc1889497b93ae9f0a946b11d9f5f6fcc7427e934
tree03b62817957000dc7ec5fdc9fd2e48cb1ff71d72
parent4584f60653bee0305e85418323d80332ceecd0cf
osd: fix off-by-one is boot subscription

If we have osdmap N, we want to onetime subscribe
starting at N+1.  Among other things, it means we
hear when the NOUP flag is cleared.

This appears to have broken somewhere around
3c76b81f2f96b790b72f2088164ed8e9d5efbba1.

Fixes: #7511
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Sam Just <sam.just@inktank.com>
(cherry picked from commit 70d23b9a0ad9af5ca35a627a7f93c7e610e17549)
Reviewed-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc