From 4a271f126ec8dd524ed3efb8a3d52c99231f9504 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 16 Aug 2016 14:34:49 +0800 Subject: [PATCH] osd/OSDMonitor: avoid duplicated assignment of oldest_map/newest_map As build_incremental() has done this for us. Signed-off-by: xie xingguo --- src/mon/OSDMonitor.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 618493fe6ebca..dd493a3856df7 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2654,8 +2654,6 @@ void OSDMonitor::send_incremental(epoch_t first, if (req) { // send some maps. it may not be all of them, but it will get them // started. - m->oldest_map = get_first_committed(); - m->newest_map = osdmap.get_epoch(); mon->send_reply(req, m); } else { session->con->send_message(m); -- 2.39.5