Skip to content

Removed legacy index.cache.json support#2667

Merged
bwplotka merged 2 commits intothanos-io:masterfrom
pracucci:remove-index-cache-json-support
May 28, 2020
Merged

Removed legacy index.cache.json support#2667
bwplotka merged 2 commits intothanos-io:masterfrom
pracucci:remove-index-cache-json-support

Conversation

@pracucci
Copy link
Contributor

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

After a brief discussion on Slack, in this PR I'm proposing to completely remove the legacy index.cache.json support, considering the binary index header is no longer experimental since v0.12.

A part from some code cleanup, the primary benefit is no longer generating the index.cache.json during compaction.

Verification

Existing tests.

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

💪

Awesome, LGTM.

pracucci added 2 commits May 28, 2020 09:24
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci force-pushed the remove-index-cache-json-support branch from 4981d5c to 398983b Compare May 28, 2020 07:25
@bwplotka bwplotka merged commit 63ef382 into thanos-io:master May 28, 2020
@bwplotka
Copy link
Member

Thanks!

@pracucci pracucci deleted the remove-index-cache-json-support branch May 28, 2020 09:22
thisisobate pushed a commit to thisisobate/thanos that referenced this pull request Jun 1, 2020
* Removed legacy index.cache.json support

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Added CHANGELOG entry

Signed-off-by: Marco Pracucci <marco@pracucci.com>
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.

2 participants