Use a separate feature flag for partitioned commits table reads

What does this MR do and why?

Move commits partitioned table reads to a new feature flag guard

Decouple reading and writing to the new diff commits table by introducing a separate FF mr_diff_commits_read_new_table to guard the read paths.

Writing paths remain guarded by the FF merge_request_diff_commits_partition.

References

Related to #600540

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.

Merge request reports

Loading