Drop serverless_domain_cluster table
We're cleaning up the deprecated Clusters::Applications
code related to Remove clusters_applications_* code (#366573 - closed)
Application code that used this table was removed in Clusters::Applications models removal (#388696 - closed)
In !117460 (merged) we dropped the foreign keys. This was in post deploy migration that has been run.
For this particular MR, serverless_domain_cluster
was a dependency within the clusters_applications*
system whose application code was necessary to remove in order to move forward with the deprecation of the clusters_applications*
. That's why it's being talked about in this context.
This MR's purpose is to
- drop the
serverless_domain_cluster
table - move the dictionary files per these instructions
For transparency, this was originally part of a single MR that drops many clusters_applications* tables, but sensing some concern around this I have split them into individual MRs.
Table usage
Thanos Query showing table usage.
Migration output
main: == [advisory_lock_connection] object_id: 275180, pg_backend_pid: 61642
main: == 20230503181808 DropServerlessDomainCluster: migrating ======================
main: -- drop_table(:serverless_domain_cluster)
main: -> 0.0090s
main: == 20230503181808 DropServerlessDomainCluster: migrated (0.0293s) =============
main: == [advisory_lock_connection] object_id: 275180, pg_backend_pid: 61642
ci: == [advisory_lock_connection] object_id: 275400, pg_backend_pid: 61644
ci: == 20230503181808 DropServerlessDomainCluster: migrating ======================
ci: -- drop_table(:serverless_domain_cluster)
ci: -> 0.0015s
ci: == 20230503181808 DropServerlessDomainCluster: migrated (0.0113s) =============
ci: == [advisory_lock_connection] object_id: 275400, pg_backend_pid: 61644