Commit 469e9b2
Show every group w.r.t. an object when an object belongs to multiple groups in the same partition
Summary:
The object table currently shows only one group when an object belongs to multiple groups in an overlapping partition. [[https://www.internalfb.com/code/fbsource/[573d17b48f]/fbcode/rebalancer/explorer/cpp_server/lib/LoadModel.cpp?lines=138-160 | The partition column overwrites the object's group name]] as it visits each group, so only the last group remains.
In this diff, [[https://www.internalfb.com/code/fbsource/[00b5e442e4cc]/fbcode/rebalancer/explorer/cpp_server/lib/LoadModel.cpp?lines=138-166 | disjoint partitions keep their existing construction, while overlapping partitions collect, sort, and join every group name]]. Objects in one group and objects outside the partition keep their existing output.
Reviewed By: sud03r
Differential Revision: D116634650
fbshipit-source-id: 62be80852f27ab38fb9e9314e15640c06d2715771 parent 4b0c51d commit 469e9b2
2 files changed
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
314 | 334 | | |
315 | 335 | | |
316 | 336 | | |
| |||
0 commit comments