]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix off-by-one in map gap logic
authorSage Weil <sage@inktank.com>
Sun, 28 Jul 2013 15:55:38 +0000 (08:55 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 26 Aug 2013 21:14:13 +0000 (14:14 -0700)
commitaceef04f7fd56935e691c7deb05f25ace653bb76
tree2facb881b9a4a0f8b18ad3083e2b19f09ab8b2f3
parentcdbfd66249cdf91c02a88af5df5a6517688a78df
osd: fix off-by-one in map gap logic

If we have map 250, and monitor's first is 251, but sends 260, we can
request the intervening range.

Fixes: #5784
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit e24b50225c841a650d9303041bbe811e04bdd668)
src/osd/OSD.cc