Skip to content

Commit

Permalink
raise orc-dead-tablet after vtorc reparent
Browse files Browse the repository at this point in the history
Signed-off-by: Priya Bibra <[email protected]>
  • Loading branch information
pbibra committed Sep 11, 2024
1 parent aac4574 commit 056209d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ require (
github.com/kr/text v0.2.0
github.com/mitchellh/mapstructure v1.5.0
github.com/nsf/jsondiff v0.0.0-20210926074059-1e845ec5d249
github.com/slackhq/vitess-addons v0.19.0
github.com/slackhq/vitess-addons v0.19.1
github.com/slok/noglog v0.2.0
github.com/spf13/afero v1.11.0
github.com/spf13/jwalterweatherman v1.1.0
Expand Down
17 changes: 16 additions & 1 deletion go/vt/vtorc/logic/topology_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ import (
"encoding/json"
"fmt"
"math/rand"
"os"
"time"

"github.com/patrickmn/go-cache"
"github.com/slackhq/vitess-addons/go/external"

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

could not import github.com/slackhq/vitess-addons/go/external (invalid package name: "")

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / End-to-End Test (Race)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Region Sharding example using etcd on ubuntu-22.04

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

could not import github.com/slackhq/vitess-addons/go/external (invalid package name: "")

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_ghost)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Queries)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

Check failure on line 28 in go/vt/vtorc/logic/topology_recovery.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Query Serving (Schema)

missing go.sum entry for module providing package github.com/slackhq/vitess-addons/go/external (imported by vitess.io/vitess/go/vt/vtorc/logic); to add:

"vitess.io/vitess/go/stats"
"vitess.io/vitess/go/vt/log"
Expand Down Expand Up @@ -81,6 +83,8 @@ var (

// recoveriesFailureCounter counts the number of failed recoveries that VTOrc has performed
recoveriesFailureCounter = stats.NewCountersWithSingleLabel("FailedRecoveries", "Count of the different failed recoveries performed", "RecoveryType", actionableRecoveriesNames...)

vtopsExec = external.NewExecVTOps(os.Getenv("VTOPS_PATH"), os.Getenv("VTOPS_HTTP_PROXY"))
)

// recoveryFunction is the code of the recovery function to be used
Expand Down Expand Up @@ -297,6 +301,7 @@ func postErsCompletion(topologyRecovery *TopologyRecovery, analysisEntry *inst.R
_ = AuditTopologyRecovery(topologyRecovery, message)
_ = inst.AuditOperation(recoveryName, analysisEntry.AnalyzedInstanceAlias, message)
_ = AuditTopologyRecovery(topologyRecovery, fmt.Sprintf("%v: successfully promoted %+v", recoveryName, promotedReplica.InstanceAlias))
vtopsExec.RaiseProblem(analysisEntry.AnalyzedInstanceHostname, "orc-dead-tablet", true)
}
}

Expand Down Expand Up @@ -590,7 +595,6 @@ func runEmergentOperations(analysisEntry *inst.ReplicationAnalysis) {
func executeCheckAndRecoverFunction(analysisEntry *inst.ReplicationAnalysis) (err error) {
countPendingRecoveries.Add(1)
defer countPendingRecoveries.Add(-1)

checkAndRecoverFunctionCode := getCheckAndRecoverFunctionCode(analysisEntry.Analysis, analysisEntry.AnalyzedInstanceAlias)
isActionableRecovery := hasActionableRecovery(checkAndRecoverFunctionCode)
analysisEntry.IsActionableRecovery = isActionableRecovery
Expand All @@ -605,8 +609,11 @@ func executeCheckAndRecoverFunction(analysisEntry *inst.ReplicationAnalysis) (er
}
}

vtopsExec.SendSlackMessage(fmt.Sprintf("[VTOrc] No recovery available for %s for problem %s.", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis), true)

return nil
}

// we have a recovery function; its execution still depends on filters if not disabled.
if isActionableRecovery || util.ClearToLog("executeCheckAndRecoverFunction: detection", analysisEntry.AnalyzedInstanceAlias) {
log.Infof("executeCheckAndRecoverFunction: proceeding with %+v detection on %+v; isActionable?: %+v", analysisEntry.Analysis, analysisEntry.AnalyzedInstanceAlias, isActionableRecovery)
Expand Down Expand Up @@ -707,15 +714,22 @@ func executeCheckAndRecoverFunction(analysisEntry *inst.ReplicationAnalysis) (er
if isActionableRecovery || util.ClearToLog("executeCheckAndRecoverFunction: recovery", analysisEntry.AnalyzedInstanceAlias) {
log.Infof("executeCheckAndRecoverFunction: proceeding with %+v recovery on %+v; isRecoverable?: %+v", analysisEntry.Analysis, analysisEntry.AnalyzedInstanceAlias, isActionableRecovery)
}

if !isActionableRecovery {
vtopsExec.SendSlackMessage(fmt.Sprintf("No actionable recovery on %s for problem %s.", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis), true)
}

recoveryAttempted, topologyRecovery, err := getCheckAndRecoverFunction(checkAndRecoverFunctionCode)(ctx, analysisEntry)
if !recoveryAttempted {
return err
}
recoveryName := getRecoverFunctionName(checkAndRecoverFunctionCode)
recoveriesCounter.Add(recoveryName, 1)
if err != nil {
vtopsExec.SendSlackMessage(fmt.Sprintf("Recovery failed on %s for problem %s. Error: %s", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis, err.Error()), true)
recoveriesFailureCounter.Add(recoveryName, 1)
} else {
vtopsExec.SendSlackMessage(fmt.Sprintf("Recovery succeeded on %s for problem %s.", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis), true)
recoveriesSuccessfulCounter.Add(recoveryName, 1)
}
if topologyRecovery == nil {
Expand Down Expand Up @@ -813,6 +827,7 @@ func postPrsCompletion(topologyRecovery *TopologyRecovery, analysisEntry *inst.R
_ = AuditTopologyRecovery(topologyRecovery, message)
_ = inst.AuditOperation(string(analysisEntry.Analysis), analysisEntry.AnalyzedInstanceAlias, message)
_ = AuditTopologyRecovery(topologyRecovery, fmt.Sprintf("%+v: successfully promoted %+v", analysisEntry.Analysis, promotedReplica.InstanceAlias))
vtopsExec.RaiseProblem(analysisEntry.AnalyzedInstanceHostname, "orc-dead-tablet", true)
}
}

Expand Down

0 comments on commit 056209d

Please sign in to comment.