Commit 2806052
committed
src/mon/PGMap.cc: check unfound obejcts in
If a pool has any PG with unfound objects, we should consider
it unavailable for the availability score. If a PG has unfound
objects, it will be recorded in PGMap.
In `get_unavailable_pg_in_map`, if a PG has unfound obejcts,
we add it to `pool_pg_unavailable_map`.
Fixes: https://tracker.ceph.com/issues/67777
Signed-off-by: Shraddha Agrawal <[email protected]>get_unavailable_pg_in_pool_map
1 parent 5485e00 commit 2806052
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
| 1286 | + | |
| 1287 | + | |
1286 | 1288 | | |
1287 | 1289 | | |
1288 | 1290 | | |
| |||
1313 | 1315 | | |
1314 | 1316 | | |
1315 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1316 | 1322 | | |
1317 | 1323 | | |
1318 | 1324 | | |
| |||
0 commit comments