There are newly added branches for proc_master_log() method will
potentially dirty info but without setting dirty_info flag.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
might_have_unfound.insert(from);
// See doc/dev/osd_internals/last_epoch_started
- if (oinfo.last_epoch_started > info.last_epoch_started)
+ if (oinfo.last_epoch_started > info.last_epoch_started) {
info.last_epoch_started = oinfo.last_epoch_started;
- info.history.merge(oinfo.history);
+ dirty_info = true;
+ }
+ if (info.history.merge(oinfo.history))
+ dirty_info = true;
assert(cct->_conf->osd_find_best_info_ignore_history_les ||
info.last_epoch_started >= info.history.last_epoch_started);