On Fri, Nov 07, 2025 at 11:28:27AM +0000, Bertrand Drouvot wrote:
> While there are existing rewrite tests, the stats behavior during rewrites
> doesn't have a good coverage. This patch adds some tests to record some stats
> after different rewrite scenarios.
>
> That way, we'll be able to test that the stats are still the ones we
> expect after rewrites. Note that it generates a new stats_1.out (which is quite
> large), so we may want to move those new tests to "isolation" instead.
Looking at this part of the patch set for now, not looked at the rest
yet. This new stats_1.out is 2k lines long, introduced for the tests
related to rewrites as an effect of 2PC. It seems to me that a split
into a new stats_rewrite would be justified for this case, to reduce
the output duplication.
--
Michael