Query Archived Records & Scalability Improvements
- Fix #35 by adding ALL ROWS support for Task/Event objects
- Improve scalability by examining current queries issued - add two fields on RollupControl__mdt, MaxQueryRows__c and MaxRollupRetries__c to aid in configuration related to this change
Increasingly, the Rollup
class itself functions effectively as a Facade for rolling up, with much of the work delegated to RollupCalculator
and the other, smaller classes. This paring down of the globally exposed class left room for scalability improvements; in addition to deciding dynamically when to go batched versus queueable, Rollup
now can restart itself if it is close to imposing upon default sentinel query limits. This release solidifies the "infinite scaling" that Rollup
is capable of.