Skip to content

Add Switch module for Ci::BuildMetadata

Description

As part of the work required for CI Time decay we want route all queries from ci_builds_metadata to our new routing-table p_ci_builds_metadata.

Technical Proposal

  • Add .partitioned scope to all places in which we interact with ci_builds_metadata
  • Add Switch module to toggle between partitioned table and legacy table
Edited by Max Orefice