}
if (shut_down_replay) {
- on_stop_journal_replay();
+ on_stop_replay();
}
}
template <typename I>
-void ImageReplayer<I>::on_stop_journal_replay(int r, const std::string &desc)
+void ImageReplayer<I>::on_stop_replay(int r, const std::string &desc)
{
dout(10) << dendl;
}
if (shut_down) {
- on_stop_journal_replay();
+ on_stop_replay();
}
return shut_down;
}
if (m_replayer->is_resync_requested()) {
dout(10) << "resync requested" << dendl;
m_resync_requested = true;
- on_stop_journal_replay(0, "resync requested");
+ on_stop_replay(0, "resync requested");
return;
}
dout(10) << "replay interrupted: "
<< "r=" << error_code << ", "
<< "error=" << error_description << dendl;
- on_stop_journal_replay(error_code, error_description);
+ on_stop_replay(error_code, error_description);
return;
}
* REPLAYING
* |
* v
- * JOURNAL_REPLAY_SHUT_DOWN
+ * REPLAY_SHUT_DOWN
* |
* v
* LOCAL_IMAGE_CLOSE
bool on_start_interrupted();
bool on_start_interrupted(ceph::mutex& lock);
- void on_stop_journal_replay(int r = 0, const std::string &desc = "");
+ void on_stop_replay(int r = 0, const std::string &desc = "");
bool on_replay_interrupted();