Skip to content

Identify meta-instances by name rather DB locality #8271

Open
@geropl

Description

@geropl

Epic: #7435

Currently have one DB per application cluster, and we're holding a d_b_workspace_cluster table in every DB separately. This works because we're copying the cluster configuration, and in theory adds additional flexibility for configuring traffic flow. The application cluster -> workspace cluster relation is so far maintained implicitly by DB locality.

This obviously breaks if we move to a single DB setup. There are two possible solutions to this:

  1. maintain the theoretical flexibility (and duplication) and introduce an appInstallation column to mark those rows to belong to the respective application cluster
  2. introduce an governedBy column (and later remove the governed flag), which expresses which app cluster governs which ws cluster. This would result in one row per workspace cluster, having all app clusters share the same traffic-shaping config.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions