Skip to content

[v15] Fix oversized report submission#37687

Merged
espadolini merged 1 commit intobranch/v15from
auto-backport/37680-to-branch/v15
Feb 1, 2024
Merged

[v15] Fix oversized report submission#37687
espadolini merged 1 commit intobranch/v15from
auto-backport/37680-to-branch/v15

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

@espadolini espadolini commented Feb 1, 2024

The report fetching logic in the submitter changed in #35968 with the introduction of two report types has a flaw; if there's at least 10 reports (the maximum amount) of the first type, the submitter attempts to fetch 0 reports of the second type - which, by conventional Teleport backend behavior, returns all the reports of the second type. This PR makes it so that we don't fetch all reports when we intended to fetch 0.

This issue affects Teleport Enterprise releases 12.4.33, 13.4.5, 14.3.1, 14.3.2, 14.3.3, 15.0.0

changelog: Fixed usage data submission becoming stuck sending too many reports at once (Teleport Enterprise only)

Backports #37680

@espadolini espadolini added this pull request to the merge queue Feb 1, 2024
Merged via the queue into branch/v15 with commit 6300629 Feb 1, 2024
@espadolini espadolini deleted the auto-backport/37680-to-branch/v15 branch February 1, 2024 21:36
@camscale camscale mentioned this pull request Feb 5, 2024
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.

3 participants