Skip to content

Commit d11ee0a

Browse files
Merge branch 'slack-19.0' into fix-sidecardb-check
2 parents a775913 + bb6271b commit d11ee0a

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/check_make_vtadmin_authz_testgen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'
6565
run: |
6666
sudo apt-get update
67-
sudo apt-get install -y make unzip g++ etcd curl git wget
67+
sudo apt-get install -y make unzip g++ etcd-client etcd-server curl git wget
6868
sudo service etcd stop
6969
go mod download
7070
go install golang.org/x/tools/cmd/goimports@latest

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ require (
101101
github.com/kr/text v0.2.0
102102
github.com/mitchellh/mapstructure v1.5.0
103103
github.com/nsf/jsondiff v0.0.0-20210926074059-1e845ec5d249
104-
github.com/slackhq/vitess-addons v0.19.4
104+
github.com/slackhq/vitess-addons v0.19.7
105105
github.com/slok/noglog v0.2.0
106106
github.com/spf13/afero v1.11.0
107107
github.com/spf13/jwalterweatherman v1.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
448448
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
449449
github.com/sjmudd/stopwatch v0.1.1 h1:x45OvxFB5OtCkjvYtzRF5fWB857Jzjjk84Oyd5C5ebw=
450450
github.com/sjmudd/stopwatch v0.1.1/go.mod h1:BLw0oIQJ1YLXBO/q9ufK/SgnKBVIkC2qrm6uy78Zw6U=
451-
github.com/slackhq/vitess-addons v0.19.4 h1:9BicIa9BK6ynqrJYCdE2fdFjN0LsfPS8DiYyYTO6vVQ=
452-
github.com/slackhq/vitess-addons v0.19.4/go.mod h1:2icrtf8lZyzdEH1r7PoXy8g66D4LG/bIhA9rQUqR+BQ=
451+
github.com/slackhq/vitess-addons v0.19.7 h1:3rP5jIjTMAJSInl92ePn6BevACvVVT4DV3oynwuQKRo=
452+
github.com/slackhq/vitess-addons v0.19.7/go.mod h1:slG5BxqN541wVV5Y5tuHE3z1CwCXj9GVRmLX5wkI/zw=
453453
github.com/slok/noglog v0.2.0 h1:1czu4l2EoJ8L92UwdSXXa1Y+c5TIjFAFm2P+mjej95E=
454454
github.com/slok/noglog v0.2.0/go.mod h1:TfKxwpEZPT+UA83bQ6RME146k0MM4e8mwHLf6bhcGDI=
455455
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=

go/flags/endtoend/vtorc.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Flags:
117117
--v Level log level for V logs
118118
-v, --version print binary version
119119
--vmodule vModuleFlag comma-separated list of pattern=N settings for file-filtered logging
120-
--vtops-exec-timeout duration execution timeout for the slack vtops binary (default 15s)
121-
--vtops-max-concurrency int max concurrency for executing the slack vtops binary (default 16)
120+
--vtops-binary-path string path to the slack vtops binary
121+
--vtops-exec-timeout duration execution timeout for the slack vtops binary (default 10s)
122+
--vtops-max-concurrency int max concurrency for executing the slack vtops binary (default 12)
122123
--wait-replicas-timeout duration Duration for which to wait for replica's to respond when issuing RPCs (default 30s)

go/vt/vtorc/logic/topology_recovery.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ var (
8585
recoveriesFailureCounter = stats.NewCountersWithSingleLabel("FailedRecoveries", "Count of the different failed recoveries performed", "RecoveryType", actionableRecoveriesNames...)
8686

8787
// vtops
88-
vtopsService = fmt.Sprintf("%s-%s-%s", os.Getenv("BEDROCK_CONTAINER_NAME"), os.Getenv("POOL"), os.Getenv("VITESS_ENVIRONMENT"))
89-
vtopsExec = external.NewExecVTOps(os.Getenv("VTOPS_PATH"), vtopsService, os.Getenv("HOSTNAME"))
88+
vtopsExec = external.NewExecVTOps()
9089
vtopsSlackChannel = os.Getenv("SLACK_CHANNEL")
9190
)
9291

@@ -304,7 +303,7 @@ func postErsCompletion(topologyRecovery *TopologyRecovery, analysisEntry *inst.R
304303
_ = AuditTopologyRecovery(topologyRecovery, message)
305304
_ = inst.AuditOperation(recoveryName, analysisEntry.AnalyzedInstanceAlias, message)
306305
_ = AuditTopologyRecovery(topologyRecovery, fmt.Sprintf("%v: successfully promoted %+v", recoveryName, promotedReplica.InstanceAlias))
307-
vtopsExec.RaiseProblem(analysisEntry.AnalyzedInstanceHostname, "orc-dead-tablet")
306+
vtopsExec.RaiseProblem(analysisEntry, topologyRecovery.SuccessorAlias, "orc-dead-tablet")
308307
}
309308
}
310309

0 commit comments

Comments
 (0)