]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: remove inc array from mdsmap
authorJohn Spray <john.spray@redhat.com>
Thu, 7 Apr 2016 11:37:08 +0000 (12:37 +0100)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 6 May 2016 14:26:51 +0000 (19:56 +0530)
commitc1279d8ff8716a54622bf98bd29ce40faa2bf41d
tree1c8179ffcef05f438edddce049d335fdb53109fd
parent791eba81a5467dd5de4f1680ed0deb647eb3fb8b
mds: remove inc array from mdsmap

Instead, use the MDSMap epochs to provide the `inc` that
we populate into mds_info_t for use by the daemons.

It is not necessary to respect the current value of inc
in old maps, because the per-rank counters were necessarily
lower numbers than the overall map epoch (incrementing
the counters always corresponded to a map change).

Fixes: http://tracker.ceph.com/issues/15399
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 30a375ebf814245fbbb5155fd39d8ff673f0a32a)
src/mds/FSMap.cc
src/mds/MDSMap.cc
src/mds/MDSMap.h
src/mon/MDSMonitor.cc