// vim: ts=8 sw=2 smarttab
#include "PoolReplayer.h"
-#include <boost/bind.hpp>
#include "common/Cond.h"
#include "common/Formatter.h"
#include "common/admin_socket.h"
}
template <typename I>
-bool PoolReplayer<I>::is_blacklisted() const {
+bool PoolReplayer<I>::is_blocklisted() const {
std::lock_guard locker{m_lock};
- return m_blacklisted;
+ return m_blocklisted;
}
template <typename I>
// reset state
m_stopping = false;
- m_blacklisted = false;
+ m_blocklisted = false;
m_site_name = site_name;
dout(10) << "replaying for " << m_peer << dendl;
std::unique_lock locker{m_lock};
- if (m_leader_watcher->is_blacklisted() ||
- m_default_namespace_replayer->is_blacklisted()) {
- m_blacklisted = true;
+ if (m_leader_watcher->is_blocklisted() ||
+ m_default_namespace_replayer->is_blocklisted()) {
+ m_blocklisted = true;
m_stopping = true;
}
for (auto &it : m_namespace_replayers) {
- if (it.second->is_blacklisted()) {
- m_blacklisted = true;
+ if (it.second->is_blocklisted()) {
+ m_blocklisted = true;
m_stopping = true;
break;
}