]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: use deepish_copy_from for remove_down_pg_temp
authorSage Weil <sage@inktank.com>
Tue, 28 Jan 2014 19:00:34 +0000 (11:00 -0800)
committerSage Weil <sage@inktank.com>
Fri, 31 Jan 2014 15:57:04 +0000 (07:57 -0800)
commitd5080799c84208d98e608cb901b816a862f8fbe7
tree4ba00d7d9b66c424cce9032dae18c9846700d2c3
parent61914d82bf587f61d414ee654671068ee3c4a8bd
OSDMonitor: use deepish_copy_from for remove_down_pg_temp

This is a backport of 368852f6c0a884b8fdc80a5cd6f9ab72e814d412.

Make a deep copy of the OSDMap to avoid clobbering the in-memory copy with
the call to apply_incremental.

Fixes: #7060
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc