since we have a proper PeeringState implementation, there is no need to
fake an active+clean PG anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
OPTION(rgw_sts_client_id, OPT_STR) // Client Id
OPTION(rgw_sts_client_secret, OPT_STR) // Client Secret
OPTION(debug_allow_any_pool_priority, OPT_BOOL)
-
-OPTION(crimson_debug_pg_always_active, OPT_BOOL)
Option("debug_allow_any_pool_priority", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(false)
.set_description("Allow any pool priority to be set to test conversion to new range"),
-
- Option("crimson_debug_pg_always_active", Option::TYPE_BOOL, Option::LEVEL_DEV)
- .set_default(true)
- .set_description("remove me once crimson peering works"),
});
}
seastar::future<> PG::wait_for_active()
{
logger().debug("wait_for_active: {}", peering_state.get_pg_state_string());
- if (local_conf()->crimson_debug_pg_always_active) {
- return seastar::now();
- }
-
if (peering_state.is_active()) {
return seastar::now();
} else {