Replies: 1 comment 7 replies
-
How many parents, total, do you have? There is a stateful calculation that relies on the "Max Lookup Rows Before Batching" to kick in - that's something that I intend to deprecate, however, since (as you're seeing) stateful full recalcs are needed sometimes even when the total number of parent records is lower than that. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi James,
I am doing some volume testing on parent records with large volumes of children, e.g. I have a batch of records with 10,000 children. When performing a full recalc, it is recalculated as 501. I presume this is somehow related to the Rollup Control "Batch Chunk Size" of 500.
The rollup is configured as follows:
The rollup control is configured as follows:
(I tried Batchable vs Queueable and it made no difference).
If I change the status of one of the children so it does not meet the 'where' clause, the total does recalculate from 501 to 9999, and when I change it back to meet the 'where' clause again, the total count is correctly reported as 10,000.
However, the reason I'm investigating this issue is because when bulk loading the children, the resulting total count is unreliable, sometimes less, sometimes more, and it doesn't work on Full Recalc. Very strange.
Beta Was this translation helpful? Give feedback.
All reactions