Description
When appending to the GROUP AS payload array we account for the increased size in the total size of the group's map, but not in the individual element sizes. This means that when spilled/restored we're not correctly accounting for the size. This leaves us with an inflated total which is the basis for further spilling - and we end up using a large number of tiny spill files, which we shouldn't be doing. By correctly accounting for the adjusted size in the individual elements we remove the impediment to the correct functioning of the spill logic.
Attachments
For Gerrit Dashboard: MB-62629 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212392,3 | MB-62629 Correct value size accounting... | master | query | Status: MERGED | +2 | +1 |
212640,3 | MB-62629 Revise quota accounting | master | query | Status: MERGED | +2 | +1 |
212749,2 | MB-62629 Revise fix to only attempt quota ... | master | query | Status: MERGED | +2 | +1 |