Skip to content

Set maxKeys to 1 for S3 confirm list operation - #6114

Merged
mdisibio merged 2 commits into
grafana:mainfrom
cancub:main
Jan 5, 2026
Merged

Set maxKeys to 1 for S3 confirm list operation#6114
mdisibio merged 2 commits into
grafana:mainfrom
cancub:main

Conversation

@cancub

@cancub cancub commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

What this PR does:

Modifies the S3 listing operation that occurs during the creation of the storage module to only list 1 object. Previously, this code was issuing a delimited listing (delimiter="/", prefix=None), which can take substantially longer for storage like ECS which implements the S3 API without implementing the listing optimizations.

Which issue(s) this PR fixes:
Fixes #5703

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
@CLAassistant

CLAassistant commented Dec 23, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@mdisibio mdisibio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you.

@mdisibio
mdisibio merged commit 8618191 into grafana:main Jan 5, 2026
21 checks passed
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Set maxKeys to 1 for S3 confirm list operation

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants