Bug #37493
closedIncorrect upmap remove
0%
Description
After I adjusted the mapping of PG with upmap mode, I restarted all OSD, and found that the mapping of PG became unbalanced again.
Should pg be removed from pg_upmap_items in this case?
Adjusted PG distribution:
ID CLASS WEIGHT REWEIGHT SIZE USE AVAIL %USE VAR PGS
0 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
1 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
2 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 60
3 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
4 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 64
5 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
6 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
7 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
8 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 65
9 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 63
10 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 63
11 ssd 1.00000 1.00000 10240M 1025M 9214M 10.02 1.00 63
TOTAL 120G 12309M 107G 10.02
MIN/MAX VAR: 1.00/1.00 STDDEV: 0
PG distribution after OSD restart:
ID CLASS WEIGHT REWEIGHT SIZE USE AVAIL %USE VAR PGS
0 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 65
1 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 68
2 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 53
3 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 67
4 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 63
5 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 70
6 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 64
7 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 66
8 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 71
9 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 60
10 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 60
11 ssd 1.00000 1.00000 10240M 1027M 9212M 10.03 1.00 61
TOTAL 120G 12324M 107G 10.03
MIN/MAX VAR: 1.00/1.00 STDDEV: 0
Files