Skip to content

[v14] Fix oversized report submission#37688

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

[v14] Fix oversized report submission#37688
espadolini merged 1 commit intobranch/v14from
auto-backport/37680-to-branch/v14

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

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: Teleport Enterprise only: fix usage data submission becoming stuck sending too many reports at once

Backports #37680

@espadolini espadolini added this pull request to the merge queue Feb 1, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 1, 2024
@espadolini espadolini added this pull request to the merge queue Feb 1, 2024
Merged via the queue into branch/v14 with commit e6425e2 Feb 1, 2024
@espadolini espadolini deleted the auto-backport/37680-to-branch/v14 branch February 1, 2024 22:18
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