diff --git a/CHANGELOG.md b/CHANGELOG.md index 6abefe263cc..fee214a3e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#6874](https://github.com/thanos-io/thanos/pull/6874) Sidecar: fix labels returned by 'api/v1/series' in presence of conflicting external and inner labels. - [#7009](https://github.com/thanos-io/thanos/pull/7009) Rule: Fix spacing error in URL. - [#7082](https://github.com/thanos-io/thanos/pull/7082) Stores: fix label values edge case when requesting external label values with matchers - +- [#7114](https://github.com/thanos-io/thanos/pull/7114) Stores: fix file path bug for minio v7.0.61 ### Added - [#6756](https://github.com/thanos-io/thanos/pull/6756) Query: Add `query.enable-tenancy` & `query.tenant-label-name` options to allow enforcement of tenancy on the query path, by injecting labels into queries (uses prom-label-proxy internally). diff --git a/pkg/store/bucket.go b/pkg/store/bucket.go index ff674193c94..20cf10e657d 100644 --- a/pkg/store/bucket.go +++ b/pkg/store/bucket.go @@ -14,7 +14,6 @@ import ( "math" "os" "path" - "path/filepath" "sort" "strings" "sync" @@ -737,7 +736,7 @@ func (s *BucketStore) getBlock(id ulid.ULID) *bucketBlock { func (s *BucketStore) addBlock(ctx context.Context, meta *metadata.Meta) (err error) { var dir string if s.dir != "" { - dir = filepath.Join(s.dir, meta.ULID.String()) + dir = path.Join(s.dir, meta.ULID.String()) } start := time.Now()