Lock PGs on secondary OSDs to allow local reads and guarantee splitbrain prevention

This commit is contained in:
Vitaliy Filippov
2025-05-10 15:18:00 +03:00
parent 66dc116f60
commit b2416afb28
21 changed files with 676 additions and 175 deletions
+1
View File
@@ -200,6 +200,7 @@ struct cli_fix_t
.stripe = op->req.describe.min_offset | items[i].role,
},
.version = 0,
.flags = OSD_OP_IGNORE_PG_LOCK,
},
};
rm_op->callback = [this, primary_osd, rm_osd_num, rm_count, &obj](osd_op_t *rm_op)