]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: OSDMonitor: smaller transactions when rebuilding full versions
authorJoao Eduardo Luis <joao.luis@inktank.com>
Sun, 15 Sep 2013 20:00:55 +0000 (21:00 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Sun, 15 Sep 2013 23:32:59 +0000 (00:32 +0100)
commit4ac1570c5cdcd6556dc291cc6d7878fd92d343ae
tree1c70b04a4d2ce2edb3d9eb0c3011290d6f1f2839
parent4216eac0f59af60f60d4ce909b9ace87a7b64ccc
mon: OSDMonitor: smaller transactions when rebuilding full versions

Otherwise, for considerably sized rebuilds, the monitor will not only
consume vast amounts of memory, but it will also have troubles committing
the transaction.  Anyway, it's also a good idea to adjust transactions to
the granularity we want, and to be fair we care that each rebuilt full map
gets to disk, even if subsequent full maps don't (those can be rebuilt
later).

Fixes: #6323
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/mon/OSDMonitor.cc