cockroach
cockroach copied to clipboard
roachtest: foreign key validation
We need a roachtest for the performance and correctness of foreign key validation.
It would be straightforward to add a validation step to an existing roachtest (possibly the schemachange one), but we might still have problems with long-running schema change transactions getting stuck, even with the recent performance improvement in #34365. So we may have to start off with a smaller-scale roachtest, and scale up only after making the necessary changes to do the validation query in a separate transaction.
Closing since we haven't seen any problems with this in a while.