]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix map advance limit to handle map gaps
authorSage Weil <sage@inktank.com>
Sun, 25 May 2014 15:38:38 +0000 (08:38 -0700)
committerSage Weil <sage@redhat.com>
Mon, 10 Nov 2014 04:32:39 +0000 (20:32 -0800)
commit0804deeab293e09123d1b58825051ccc4dddbc0e
tree0c5c33dff6f75207d59df6a580eb55587f321874
parentd30d6b986433eaef920b3703cf5af3c030f8dcf4
osd: fix map advance limit to handle map gaps

The recent change in cf25bdf6b0090379903981fe8cee5ea75efd7ba0 would stop
advancing after some number of epochs, but did not take into consideration
the possibilty that there are missing maps.  In that case, it is impossible
to advance past the gap.

Fix this by increasing the max epoch as we go so that we can always get
beyond the gap.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 1e0a82fd55dede473c0af32924f4bcb5bb697a2b)
src/osd/OSD.cc