session_waiting_lock("OSD::session_waiting_lock"),
heartbeat_lock("OSD::heartbeat_lock"),
heartbeat_stop(false), heartbeat_update_lock("OSD::heartbeat_update_lock"),
- heartbeat_need_update(true), heartbeat_epoch(0),
+ heartbeat_need_update(true),
hbclient_messenger(hb_clientm),
hb_front_server_messenger(hb_front_serverm),
hb_back_server_messenger(hb_back_serverm),
dout(10) << "maybe_update_heartbeat_peers updating" << dendl;
- heartbeat_epoch = osdmap->get_epoch();
// build heartbeat from set
if (is_active()) {
bool heartbeat_stop;
Mutex heartbeat_update_lock; // orders under heartbeat_lock
bool heartbeat_need_update; ///< true if we need to refresh our heartbeat peers
- epoch_t heartbeat_epoch; ///< last epoch we updated our heartbeat peers
map<int,HeartbeatInfo> heartbeat_peers; ///< map of osd id to HeartbeatInfo
utime_t last_mon_heartbeat;
Messenger *hbclient_messenger;