Skip to content

Commit 88e59b6

Browse files
pstibranysrijan55
authored andcommitted
Update Thanos to v0.19.1-0.20210923155558-c15594a03c45. (cortexproject#4505)
* Update Thanos to v0.19.1-0.20210923155558-c15594a03c45. Signed-off-by: Peter Štibraný <[email protected]> * Added forgotten vendored files Signed-off-by: Peter Štibraný <[email protected]> * Use original version of file with CRLF line separators, to avoid confusing lint check. Signed-off-by: Peter Štibraný <[email protected]> Signed-off-by: Manish Kumar Gupta <[email protected]>
1 parent 4863571 commit 88e59b6

File tree

459 files changed

+21191
-32910
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

459 files changed

+21191
-32910
lines changed

go.mod

+13-11
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ go 1.16
55
require (
66
cloud.google.com/go/bigtable v1.3.0
77
cloud.google.com/go/storage v1.10.0
8-
github.com/Azure/azure-pipeline-go v0.2.2
9-
github.com/Azure/azure-storage-blob-go v0.8.0
8+
github.com/Azure/azure-pipeline-go v0.2.3
9+
github.com/Azure/azure-storage-blob-go v0.13.0
1010
github.com/Masterminds/squirrel v0.0.0-20161115235646-20f192218cf5
1111
github.com/NYTimes/gziphandler v1.1.1
1212
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15
1313
github.com/alicebob/miniredis/v2 v2.14.3
14-
github.com/aws/aws-sdk-go v1.40.11
14+
github.com/aws/aws-sdk-go v1.40.37
1515
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b
1616
github.com/cespare/xxhash v1.1.0
1717
github.com/dustin/go-humanize v1.0.0
1818
github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb
1919
github.com/felixge/fgprof v0.9.1
2020
github.com/fsouza/fake-gcs-server v1.7.0
2121
github.com/go-kit/log v0.1.0
22-
github.com/go-openapi/strfmt v0.20.1
22+
github.com/go-openapi/strfmt v0.20.2
2323
github.com/go-openapi/swag v0.19.15
2424
github.com/go-redis/redis/v8 v8.9.0
2525
github.com/gocql/gocql v0.0.0-20200526081602-cd04bd7f22a7
@@ -45,21 +45,21 @@ require (
4545
github.com/prometheus/client_golang v1.11.0
4646
github.com/prometheus/client_model v0.2.0
4747
github.com/prometheus/common v0.30.0
48-
github.com/prometheus/prometheus v1.8.2-0.20210720123808-b1ed4a0a663d
48+
github.com/prometheus/prometheus v1.8.2-0.20210914090109-37468d88dce8
4949
github.com/segmentio/fasthash v0.0.0-20180216231524-a72b379d632e
5050
github.com/sony/gobreaker v0.4.1
51-
github.com/spf13/afero v1.2.2
51+
github.com/spf13/afero v1.3.4
5252
github.com/stretchr/testify v1.7.0
53-
github.com/thanos-io/thanos v0.19.1-0.20210803192524-baea4ce9ef52
53+
github.com/thanos-io/thanos v0.22.0
5454
github.com/uber/jaeger-client-go v2.29.1+incompatible
5555
github.com/weaveworks/common v0.0.0-20210901124008-1fa3f9fa874c
5656
go.etcd.io/bbolt v1.3.6
5757
go.uber.org/atomic v1.9.0
58-
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985
58+
golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f
5959
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
60-
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6
61-
google.golang.org/api v0.50.0
62-
google.golang.org/grpc v1.39.0
60+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
61+
google.golang.org/api v0.56.0
62+
google.golang.org/grpc v1.40.0
6363
gopkg.in/yaml.v2 v2.4.0
6464
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
6565
sigs.k8s.io/yaml v1.2.0
@@ -80,3 +80,5 @@ replace github.com/bradfitz/gomemcache => github.com/themihai/gomemcache v0.0.0-
8080

8181
// TODO review the change introduced by https://github.com/grpc/grpc-go/pull/4416 before upgrading to 1.39.0
8282
replace google.golang.org/grpc => google.golang.org/grpc v1.38.0
83+
84+
replace github.com/thanos-io/thanos v0.22.0 => github.com/thanos-io/thanos v0.19.1-0.20210923155558-c15594a03c45

go.sum

+146-39
Large diffs are not rendered by default.

pkg/chunk/azure/blob_storage_client.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const (
3030

3131
var (
3232
supportedEnvironments = []string{azureGlobal, azureChinaCloud, azureGermanCloud, azureUSGovernment}
33+
noClientKey = azblob.ClientProvidedKeyOptions{}
3334
endpoints = map[string]struct{ blobURLFmt, containerURLFmt string }{
3435
azureGlobal: {
3536
"https://%s.blob.core.windows.net/%s/%s",
@@ -135,7 +136,7 @@ func (b *BlobStorage) getObject(ctx context.Context, objectKey string) (rc io.Re
135136
}
136137

137138
// Request access to the blob
138-
downloadResponse, err := blockBlobURL.Download(ctx, 0, azblob.CountToEnd, azblob.BlobAccessConditions{}, false)
139+
downloadResponse, err := blockBlobURL.Download(ctx, 0, azblob.CountToEnd, azblob.BlobAccessConditions{}, false, noClientKey)
139140
if err != nil {
140141
if isObjNotFoundErr(err) {
141142
return nil, chunk.ErrStorageObjectNotFound

pkg/compactor/compactor.go

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ var (
5454
reg,
5555
blocksMarkedForDeletion,
5656
garbageCollectedBlocks,
57+
prometheus.NewCounter(prometheus.CounterOpts{}),
5758
metadata.NoneFunc)
5859
}
5960

@@ -656,6 +657,7 @@ func (c *Compactor) compactUser(ctx context.Context, userID string) error {
656657
path.Join(c.compactorCfg.DataDir, "compact"),
657658
bucket,
658659
c.compactorCfg.CompactionConcurrency,
660+
false,
659661
)
660662
if err != nil {
661663
return errors.Wrap(err, "failed to create bucket compactor")

vendor/cloud.google.com/go/CHANGES.md

+91
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/cloud.google.com/go/CONTRIBUTING.md

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/cloud.google.com/go/README.md

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)