Skip to content

Commit dffed86

Browse files
authored
Merge branch 'dev' into PBM-1502-pbm-profile-sync-fails
2 parents e54ad2e + 116d50e commit dffed86

File tree

1,559 files changed

+424632
-136077
lines changed

Some content is hidden

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

1,559 files changed

+424632
-136077
lines changed

cmd/pbm/main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,11 @@ func (pr pitrRange) String() string {
11151115
return fmt.Sprintf("{ %s }", pr.Range)
11161116
}
11171117

1118+
// fmtTS converts timestamp to Zulu time string representation,
1119+
// and removes Z identificator: 2025-02-05T11:04:59
11181120
func fmtTS(ts int64) string {
1119-
return time.Unix(ts, 0).UTC().Format(time.RFC3339)
1121+
t := time.Unix(ts, 0).UTC().Format(time.RFC3339)
1122+
return strings.TrimSuffix(t, "Z")
11201123
}
11211124

11221125
type outMsg struct {

e2e-tests/docker/pbm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG MONGODB_VERSION=6.0
22
ARG MONGODB_IMAGE=perconalab/percona-server-mongodb
33

4-
FROM ${MONGODB_IMAGE}:${MONGODB_VERSION}-multi AS mongo_image
4+
FROM ${MONGODB_IMAGE}:${MONGODB_VERSION} AS mongo_image
55

66
FROM oraclelinux:9 AS base-build
77
WORKDIR /build

go.mod

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@ module github.com/percona/percona-backup-mongodb
33
go 1.22
44

55
require (
6+
cloud.google.com/go/storage v1.38.0
67
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.10.0
78
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.1
8-
github.com/aws/aws-sdk-go v1.55.5
9+
github.com/aws/aws-sdk-go-v2 v1.33.0
10+
github.com/aws/aws-sdk-go-v2/config v1.29.0
11+
github.com/aws/aws-sdk-go-v2/credentials v1.17.53
12+
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.50
13+
github.com/aws/aws-sdk-go-v2/service/s3 v1.73.0
14+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.8
15+
github.com/aws/smithy-go v1.22.1
916
github.com/docker/docker v27.1.1+incompatible
1017
github.com/fsnotify/fsnotify v1.7.0
1118
github.com/golang/snappy v0.0.4
1219
github.com/google/uuid v1.6.0
20+
github.com/googleapis/gax-go/v2 v2.12.3
1321
github.com/klauspost/compress v1.17.11
1422
github.com/klauspost/pgzip v1.2.6
1523
github.com/mongodb/mongo-tools v0.0.0-20240723193119-837c2bc263f4
@@ -22,14 +30,31 @@ require (
2230
go.mongodb.org/mongo-driver v1.17.1
2331
golang.org/x/mod v0.19.0
2432
golang.org/x/sync v0.11.0
33+
google.golang.org/api v0.171.0
2534
gopkg.in/yaml.v2 v2.4.0
2635
)
2736

2837
require (
38+
cloud.google.com/go v0.112.1 // indirect
39+
cloud.google.com/go/compute v1.25.1 // indirect
40+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
41+
cloud.google.com/go/iam v1.1.6 // indirect
2942
dario.cat/mergo v1.0.0 // indirect
3043
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.2 // indirect
3144
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
3245
github.com/Microsoft/go-winio v0.6.2 // indirect
46+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 // indirect
47+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.24 // indirect
48+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.28 // indirect
49+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.28 // indirect
50+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
51+
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.28 // indirect
52+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 // indirect
53+
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.5.0 // indirect
54+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.9 // indirect
55+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.9 // indirect
56+
github.com/aws/aws-sdk-go-v2/service/sso v1.24.10 // indirect
57+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.9 // indirect
3358
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
3459
github.com/containerd/containerd v1.7.18 // indirect
3560
github.com/containerd/log v0.1.0 // indirect
@@ -44,10 +69,13 @@ require (
4469
github.com/go-logr/stdr v1.2.2 // indirect
4570
github.com/go-ole/go-ole v1.2.6 // indirect
4671
github.com/gogo/protobuf v1.3.2 // indirect
72+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
73+
github.com/golang/protobuf v1.5.4 // indirect
74+
github.com/google/s2a-go v0.1.7 // indirect
75+
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
4776
github.com/hashicorp/hcl v1.0.0 // indirect
4877
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4978
github.com/jessevdk/go-flags v1.5.0 // indirect
50-
github.com/jmespath/go-jmespath v0.4.0 // indirect
5179
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
5280
github.com/magiconair/properties v1.8.7 // indirect
5381
github.com/mitchellh/mapstructure v1.5.0 // indirect
@@ -81,6 +109,8 @@ require (
81109
github.com/xdg-go/stringprep v1.0.4 // indirect
82110
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
83111
github.com/yusufpapurcu/wmi v1.2.3 // indirect
112+
go.opencensus.io v0.24.0 // indirect
113+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
84114
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
85115
go.opentelemetry.io/otel v1.24.0 // indirect
86116
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 // indirect
@@ -92,9 +122,17 @@ require (
92122
golang.org/x/crypto v0.33.0 // indirect
93123
golang.org/x/exp v0.0.0-20240529005216-23cca8864a10 // indirect
94124
golang.org/x/net v0.35.0 // indirect
125+
golang.org/x/oauth2 v0.18.0 // indirect
95126
golang.org/x/sys v0.30.0 // indirect
96127
golang.org/x/term v0.29.0 // indirect
97128
golang.org/x/text v0.22.0 // indirect
129+
golang.org/x/time v0.5.0 // indirect
130+
google.golang.org/appengine v1.6.8 // indirect
131+
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
132+
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
133+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
134+
google.golang.org/grpc v1.64.1 // indirect
135+
google.golang.org/protobuf v1.33.0 // indirect
98136
gopkg.in/ini.v1 v1.67.0 // indirect
99137
gopkg.in/yaml.v3 v3.0.1 // indirect
100138
)

0 commit comments

Comments
 (0)