Skip to content

[Phase 3] Drop the obsolete database schema #2138

Description

@dmikhaylovnv

Description

Remove storage after every running service has stopped accessing it.

Definition of Done

  • Remove cluster_groups_by_authorized_accounts from:
  • migrations/cassandra/keyspaces/sis_api/03_init_tables.up.sql
  • ICMS local_env/cassandra/schema/schema.cql
  • Add the idempotent drop migration currently named 11_drop_bart_cluster_groups.up.sql, using the next available migration number when this phase lands.
  • Document the prerequisite that phase 2 is fully deployed and the rollback boundary.

This ordering matters because Cassandra migrations can run before the ICMS rollout. Dropping the table in the same release as its code removal can break older pods still using the discovery fallback.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions