Add allow_net_split parameter

This commit is contained in:
Vitaliy Filippov
2025-03-23 02:12:32 +03:00
parent 8b0389b4e8
commit 7a835fcd8f
10 changed files with 89 additions and 9 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ void osd_t::start_pg_peering(pg_t & pg)
all_connected = false;
}
}
if (!all_connected)
if (!all_connected && !allow_net_split)
{
// Wait until all OSDs are either connected or their /osd/state disappears from etcd
pg.state = PG_INCOMPLETE;