Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close idle conns when closing consul topo #15975

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions go/vt/topo/consultopo/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,13 @@
}

// Close implements topo.Server.Close.
// It will nil out the global and cells fields, so any attempt to
// re-use this server will panic.
// It will close idle http connections and nil out the global
// and cells fields, so any attempt to re-use this server
// will panic.
func (s *Server) Close() {
if consulConfig.Transport != nil {

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using zk2 on ubuntu-22.04

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Code Coverage

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (Evalengine_Race)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_mariadb_to_mysql)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_copy_parallel)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_multi_tenant)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (evalengine_mysql80)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (evalengine_mysql57)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 172 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig
consulConfig.Transport.CloseIdleConnections()

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using zk2 on ubuntu-22.04

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using consul on ubuntu-22.04

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Local example using etcd on ubuntu-22.04

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_tablet_healthcheck_cache)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_suite)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / End-to-End Test

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (Race)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (22)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_revert)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vttablet_prscomplex)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Code Coverage

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_migrate_vdiff2_convert_tz)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_partial_keyspace)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (topo_connection_cache)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (15)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (Evalengine_Race)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - E2E

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_foreignkey_stress)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_mariadb_to_mysql)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtbackup)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_transaction)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_throttler_topo)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_v2)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Backups - Manual

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vschema)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_basic)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtorc)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_tablegc)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (21)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_etcd)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_godriver)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_gen4)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_readafterwrite)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old VTTablet

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_copy_parallel)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

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

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_across_db_versions)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_recovery)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr_xtrabackup)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_scheduler)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_multi_tenant)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (tabletmanager_consul)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_concurrentdml)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtctlbackup_sharded_clustertest_heavy)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_general_heavy)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (13)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_cellalias)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_vindex_heavy)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_foreign_key_stress)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_reservedconn)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (xb_backup)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (12)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vreplication_partial_movetables_and_materialize)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (evalengine_mysql80)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (backup_pitr)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vstream)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (ers_prs_newfeatures_heavy)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_unsharded)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run Upgrade Downgrade Test - Reparent Old Vtctl

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (evalengine_mysql57)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql_server_vault)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (18)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (schemadiff_vrepl)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_topo_consul)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (mysql80)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql57)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_schema_tracker)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 10

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Unit Test (mysql80)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Run endtoend tests on Cluster (vtgate_queries)

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig) (typecheck)

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig) (typecheck)

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig) (typecheck)

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Static Code Checks Etc

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig

Check failure on line 173 in go/vt/topo/consultopo/server.go

View workflow job for this annotation

GitHub Actions / Docker Test Cluster 25

undefined: consulConfig
}
s.client = nil
s.kv = nil
s.mu.Lock()
Expand Down
1 change: 1 addition & 0 deletions go/vt/vttest/topoctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (ctl *Topoctl) Setup() error {
if err != nil {
return err
}
defer topoServer.Close()

log.Infof("Creating cells if they don't exist in the provided topo server %s %s %s", ctl.TopoImplementation, ctl.TopoGlobalServerAddress, ctl.TopoGlobalRoot)
// Create cells if it doesn't exist to be idempotent. Should work when we share the same topo server across multiple local clusters.
Expand Down
Loading