We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e554bf commit 7000cbfCopy full SHA for 7000cbf
src/crimson/osd/shard_services.cc
@@ -708,9 +708,9 @@ ShardServices::get_or_create_pg(
708
std::unique_ptr<PGCreateInfo> info)
709
{
710
if (info) {
711
- auto [fut, creating] = local_state.pg_map.wait_for_pg(
+ auto [fut, existed] = local_state.pg_map.wait_for_pg(
712
std::move(trigger), pgid);
713
- if (!creating) {
+ if (!existed) {
714
local_state.pg_map.set_creating(pgid);
715
(void)handle_pg_create_info(
716
std::move(info));
0 commit comments