Skip to content

Defers the cluster_enabled_grant query

What does this MR do and why?

Addressing a follow-up from previous MR, we'll check cached values before checking the database.

The other part of the follow-up was regarding disabling the id column of cluster_enabled_grants and only use namespace_id as the primary key instead, since it's anyway unique. Although, since the migration is already shipped, this table will already be backfilled, and this table will also be removed in 15.6, I didn't think it was worth pursuing it at this point.

Closes #363035 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #363035 (closed)

Edited by João Alexandre Cunha

Merge request reports