Remove the preload_member_roles feature flag

This feature flag was introduced in 17.9, which is more than 12 milestones ago.

  • The feature flag has been disabled by default, and has been disabled on .com for a while now
  • When the FF was enabled we noticed an uptick in the number of SQL queries because it was querying the custom role tables even when the user hadn't been assigned any custom roles
  • Instead we preload custom roles in specific resolvers

TODO for the reviewers before merging this MR

This change was generated by gitlab-housekeeper in CI using the Keeps::DeleteOldFeatureFlags keep.

To provide feedback on your experience with gitlab-housekeeper please create an issue with the label GitLab Housekeeper and consider pinging the author of this keep.

Edited by Hinam Mehra

Merge request reports

Loading
Loading