[MCOL-788] redistributeData does nothing for partitions that are evenly spread across dbroots Created: 2017-06-26 Updated: 2023-10-25 Resolved: 2023-10-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | writeengine |
| Affects Version/s: | 1.0.9 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Leonid Fedorov |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
If you have data loaded near perfectly with one dbroot overloaded but the partitions are distributed across all dbroots, then redistributeData will do nothing. In this case the cluster got into this state due to bug This configuration will not do any redistribute, but it should try to reduce the size of the overloaded dbroot and spread this out across the remaining dbroots. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-06-26 ] |
|
This is a case that was mentioned in |
| Comment by David Thompson (Inactive) [ 2017-06-26 ] |
|
|
| Comment by David Thompson (Inactive) [ 2017-06-26 ] |
|
I believe the logic at L340 of RedistributeControlThread::makeRedistributePlan is the flaw here, it tries to avoid moving a partition to a dbroot if that dbroot already contains the partition but there is no fallback case if all are full. |
| Comment by David Thompson (Inactive) [ 2017-06-26 ] |
|
see |