Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/OSD: respect osdmap message limits
We restructure the function significantly to let us work forwards instead of backwards through epochs. We also make the assumption that the OSD will have the maps it is supposed to have. If we for some reason fail to load a map, we fall back to something minimal, but in general there is little point to sending a more complete message when local maps are missing since it shouldn't ever happen anyway and the receiver can always go get maps from the mon. Fixes: http://tracker.ceph.com/issues/38040 Signed-off-by: Sage Weil <sage@redhat.com> (cherry picked from commit 47a3f63)
- Loading branch information
Showing
1 changed file
with
42 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters