v1.5.7 - Hierarchy Rollup Bugfixes #320
jamessimone
announced in
Release Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RollupFullBatchRecalculator
, since by default Apex Rollup will prefer to use queueables thanks to their excellent async speed - now, queries produced through full recalculations have two additional layers of caching to prevent duplicate (and unnecessary) queries when the children items are the same between 2 or more enqueued rollups. This involved the promotion ofRollupAsyncProcessor.FullRecalcProcessor
to an outer class,RollupFullRecalcProcessor
and a promotion in visibility ofRollupAsyncProcessor.QueueableProcessor
from private to public. Since the subclasses of what was previously theFullRecalcProcessor
were already extending from an inner class ofRollupAsyncProcessor
, this feels like a bigger win anyway since now the only place the inner class forRollupAsyncProcessor
is being referenced comes in the abstract class definition forRollupFullRecalcProcessor
RollupRelationshipFieldFinderTests
- now that the discrete list of both parent and child query fields are passed to this object, it was easier to consolidate (for the purpose of these tests) theSet<String>
being used for parent/child fields. This cleanup exposed a few other places in the codebase where Set usage could be consolidatedThis discussion was created from the release v1.5.7 - Hierarchy Rollup Bugfixes.
Beta Was this translation helpful? Give feedback.
All reactions