]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Merge pull request #900 from ceph/wip-mon-mds-trim
authorJoão Eduardo Luís <joao.luis@inktank.com>
Fri, 6 Dec 2013 02:15:21 +0000 (18:15 -0800)
committerJoão Eduardo Luís <joao.luis@inktank.com>
Fri, 6 Dec 2013 02:15:21 +0000 (18:15 -0800)
commit80fb336b4c0048c784d20ae3c981879a8050e4a6
treeff53669e109527b0cb88bc43751f09f616aebb1e
parent8cf2a84a03b6121fed762b4762999f439a2db87a
parent47ee79704fcc03311f7be418d65391c090fda874
Merge pull request #900 from ceph/wip-mon-mds-trim

mon: MDSMonitor: trim versions and let PaxosService decide whether to propose

We were not trimming mdsmap versions and were generating a new map every time
we modified the pending value.

Now we not only make sure that MDSMonitor will trim old maps (configurable
option allowing us to set the maximum number of maps to keep, defaulting to 500,
much like other services do) but we also delegate to PaxosService the decision on
whether to propose our pending value.

We also perform several modifications to 'ceph-kvstore-tool', allowing one to obtain
the contents of a given prefix:key and have them outputted to a file instead of stdout,
and also add support for getting the size of a given prefix:key's value.

'ceph report' was also modified so that we always output the first and last
committed versions for all services; up until this point, we would only output the
first committed version on all services, and only a few were also outputting the
last committed version.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>