Skip to content

[v18] [clientutils] preserve pagesize between page calls#61849

Merged
okraport merged 1 commit intobranch/v18from
bot/backport-61844-branch/v18
Nov 28, 2025
Merged

[v18] [clientutils] preserve pagesize between page calls#61849
okraport merged 1 commit intobranch/v18from
bot/backport-61844-branch/v18

Conversation

@okraport
Copy link
Copy Markdown
Contributor

@okraport okraport commented Nov 28, 2025

Backport #61844 to branch/v18

changelog: Fixed a bug causing high memory consumption in the Teleport Auth Service when clients were listing large resources.

With this change rangeInternal will preserve the last used pageSize which prevents issues with excess allocations when every page contains items too large for a successful list call.

Towards: #61839

Changelog: Fixes client side pagination utilities to preserve page size between list calls which previously led to high memory consumption on the server side leading to crashes.
@okraport okraport disabled auto-merge November 28, 2025 15:41
@okraport okraport added this pull request to the merge queue Nov 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@okraport okraport added this pull request to the merge queue Nov 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@okraport okraport added this pull request to the merge queue Nov 28, 2025
Merged via the queue into branch/v18 with commit 06ce72b Nov 28, 2025
43 checks passed
@okraport okraport deleted the bot/backport-61844-branch/v18 branch November 28, 2025 16:58
@aadc-dev aadc-dev mentioned this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants