Skip to content

Add sharding key to labels

labels table already has a sharding key definition (group_id, project_id). But we recently discovered we can have records that don't have any of those 2 columns set. These records work as default label templates for all new projects.

Related discussion in &16534 (comment 2517549528)

We probably need to add a new sharding key column organization_id to the labels table so it is assigned for cell wide records

TODOs

Edited by Mario Celi