Skip to content

Change Shard to use safe_find_or_create_by

Heinrich Lee Yu requested to merge 338862-reduce-subtransactions-in-shard into master

What does this MR do?

Using this method allows us to benefit from a recent optimization where the transaction is skipped in the most common scenario where the record is found on the first attempt

Related to #338862 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Heinrich Lee Yu

Merge request reports

Loading