diff options
Diffstat (limited to 'src/crimson/osd/pg_shard_manager.h')
-rw-r--r-- | src/crimson/osd/pg_shard_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crimson/osd/pg_shard_manager.h b/src/crimson/osd/pg_shard_manager.h index 1559dde0cb1..a3f0c8b7cc5 100644 --- a/src/crimson/osd/pg_shard_manager.h +++ b/src/crimson/osd/pg_shard_manager.h @@ -373,7 +373,7 @@ public: return opref.template enter_stage<>( opref.get_connection_pipeline().get_pg_mapping); }).then([this, &opref] { - return get_pg_to_shard_mapping().maybe_create_pg(opref.get_pgid()); + return get_pg_to_shard_mapping().get_or_create_pg_mapping(opref.get_pgid()); }).then_wrapped([this, &logger, op=std::move(op)](auto fut) mutable { if (unlikely(fut.failed())) { logger.error("{}: failed before with_pg", *op); |