Skip to content

Allow partial data in tenant-federation#7232

Open
SungJin1212 wants to merge 4 commits intocortexproject:masterfrom
SungJin1212:Allow-partial-data-in-federation
Open

Allow partial data in tenant-federation#7232
SungJin1212 wants to merge 4 commits intocortexproject:masterfrom
SungJin1212:Allow-partial-data-in-federation

Conversation

@SungJin1212
Copy link
Member

@SungJin1212 SungJin1212 commented Jan 27, 2026

This PR introduces experimental flag -tenant-federation.allow-partial-data for partial responses when using Tenant Federation.

Currently, when querying multiple tenants via federation, a failure in a single tenant causes the entire query to fail. With this change, users can opt-in to a mode where errors from individual tenants are treated as warnings, allowing partial results from successful tenants to be returned.

This is particularly useful when using the regex resolver (e.g., X-Scope-OrgID: user-.*). When dynamically matching a large number of tenants, a single failing tenant will no longer block the entire query result.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 changed the title Allow partial data in federation Allow partial data in tenant-federation Jan 27, 2026
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
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.

1 participant