Skip to content

[v17] [clientutils] preserve pagesize between page calls#61848

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

[v17] [clientutils] preserve pagesize between page calls#61848
okraport merged 1 commit intobranch/v17from
bot/backport-61844-branch/v17

Conversation

@okraport
Copy link
Copy Markdown
Contributor

@okraport okraport commented Nov 28, 2025

Backport #61844 to branch/v17

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
Merged via the queue into branch/v17 with commit 6298870 Nov 28, 2025
42 of 43 checks passed
@okraport okraport deleted the bot/backport-61844-branch/v17 branch November 28, 2025 16:21
@doggydogworld doggydogworld mentioned this pull request Dec 8, 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