Skip to content

Conversation

sandeepsukhani
Copy link
Contributor

NewStore method in pkg/storage uses Overrides type defined in Cortex itself.
Added an interface to let consumers of that method pass any type which implements required methods returning Store specific limits.
This is done as part of way to let projects using Cortex, define their own limits

Signed-off-by: Sandeep Sukhani sandeep.d.sukhani@gmail.com

NewStore method in pkg/storage uses Overrides type defined in Cortex itself.
Added an interface to let consumers of that method pass any type which implements required methods
This is done as part of way to let projects using Cortex, define their own limits

Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com>
@tomwilkie tomwilkie requested a review from gouthamve August 22, 2019 09:57
)

// CompositeStoreLimits helps get Limits specific to Queries for Stores in CompositeStore
type CompositeStoreLimits interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems misnamed, since it's used in store, CompositeStore and seriesStore. Suggest renaming to StoreLimits.

Signed-off-by: Sandeep Sukhani <sandeep.d.sukhani@gmail.com>
@gouthamve gouthamve merged commit 68603f1 into cortexproject:master Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants