]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/OSDMonitor: avoid duplicated assignment of oldest_map/newest_map
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 16 Aug 2016 06:34:49 +0000 (14:34 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 10:05:40 +0000 (18:05 +0800)
As build_incremental() has done this for us.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.cc

index 618493fe6ebcae26bd27495088ecdaf46e11b8fc..dd493a3856df7e8000eaf904c66164406723ac6d 100644 (file)
@@ -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);