Add sharding key to resource_label_events

What does this MR do and why?

Adds namespace_id column to resource_label_events table as it's sharding key. In this MR we make sure every new records sets the correct sharding key. The table will be backfilled in a follow-up MR

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #514594 (closed)

Merge request reports

Loading