Skip to content

Updated table deletes to ignore empty prefixes#1341

Merged
gouthamve merged 1 commit intocortexproject:masterfrom
nrjpoddar:fixTableDeletes
Apr 29, 2019
Merged

Updated table deletes to ignore empty prefixes#1341
gouthamve merged 1 commit intocortexproject:masterfrom
nrjpoddar:fixTableDeletes

Conversation

@nrjpoddar
Copy link

Fixes #1340

Signed-off-by: Neeraj Poddar <neeraj@aspenmesh.io>
@nrjpoddar
Copy link
Author

@bboreham PTAL

@nrjpoddar
Copy link
Author

nrjpoddar commented Apr 24, 2019

@bboreham can I get your feedback on this? We have to currently run a fork of upstream cortex as without this fix the table manager tries to delete all DynamoDB tables. Thanks!

Copy link
Contributor

@jtlisi jtlisi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks for this. Would be good to add this case to the test too.

@nrjpoddar
Copy link
Author

nrjpoddar commented Apr 25, 2019

@bboreham can you merge this? I will add a second PR with unit tests as you requested but we kind of need this image asap. It turns out the table-manager will not create new tables because of this failure which in turn will cause other failures from querier/ingesters. Thanks!

@gouthamve gouthamve merged commit 79bba2f into cortexproject:master Apr 29, 2019
@nrjpoddar
Copy link
Author

nrjpoddar commented Apr 29, 2019

Thanks @gouthamve!

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.

Table manager ignores prefixes for retention deletes

4 participants