PG is waiting for previous intervals' readable intervals to expire.
Signed-off-by: Sage Weil <sage@redhat.com>
oss << "failed_repair+";
if (state & PG_STATE_LAGGY)
oss << "laggy+";
+ if (state & PG_STATE_WAIT)
+ oss << "wait+";
string ret(oss.str());
if (ret.length() > 0)
ret.resize(ret.length() - 1);
type = PG_STATE_FAILED_REPAIR;
else if (state == "laggy")
type = PG_STATE_LAGGY;
+ else if (state == "wait")
+ type = PG_STATE_WAIT;
else if (state == "unknown")
type = 0;
else
#define PG_STATE_FORCED_BACKFILL (1ULL << 31) // force backfill of this pg before any other
#define PG_STATE_FAILED_REPAIR (1ULL << 32) // A repair failed to fix all errors
#define PG_STATE_LAGGY (1ULL << 33) // PG is laggy/unreabable due to slow/delayed pings
+#define PG_STATE_WAIT (1ULL << 34) // PG is waiting for prior intervals' readable period to expire
std::string pg_state_string(uint64_t state);
std::string pg_vector_string(const std::vector<int32_t> &a);