Skip to content

Conversation

pracucci
Copy link
Contributor

What this PR does:
Today I've noticed that the objstore error rate panel for the compactor is reporting an high failure rate. It's caused by the fact that the Thanos MetadataFetcher (used by the compactor) calls bkt.ReaderWithExpectedErrs(bkt.IsObjNotFoundErr).Get(ctx, markerFile) to check whether a block has a deletion mark. The "object not found" is an expected error that shouldn't be tracked as error in metrics, but our globalMarkersBucket wrapper doesn't implements the objstore.InstrumentedBucket and objstore.InstrumentedBucketReader interfaces and so it doesn't work as expected.

Screenshot 2021-01-19 at 19 04 27

Which issue(s) this PR fixes:
N/A

Checklist

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

@pracucci pracucci merged commit 6283b41 into cortexproject:master Jan 20, 2021
@pracucci pracucci deleted the fix-global-marker-bucket branch January 20, 2021 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants