[MXS-1704] Cost of gwbuf_length should be constant. Created: 2018-03-06 Updated: 2022-03-08 Resolved: 2022-03-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | 22.08.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
gwbuf_length now walks over the entire chain in order to calculate the value. That must be changed so that obtaining the length is a constant cost, irrespective of how many chains there are. |
| Comments |
| Comment by markus makela [ 2022-03-08 ] |
|
Fixed as a part of the refactoring done for 7.0.0. |