Rebuilding report caches through the front end caused a large amount of PHP notices to be logged to watchdog, affecting negatively the performance of the process.
Rebuilding the cache from front-end caused several PHP notice messages to be logged to watchdog, since an array was trying to be accessed with keys it did not have. This array in particular was being used this way for every field in every record for every entity, resulting in the problem escalating out of control on large datasets.
After
This part of the code was obsolete, so the problem was fixed by deleting the offending code.
Overview
Rebuilding report caches through the front end caused a large amount of PHP notices to be logged to watchdog, affecting negatively the performance of the process.
Before
Rebuilding the cache from front-end caused several PHP notice messages to be logged to watchdog, since an array was trying to be accessed with keys it did not have. This array in particular was being used this way for every field in every record for every entity, resulting in the problem escalating out of control on large datasets.
After
This part of the code was obsolete, so the problem was fixed by deleting the offending code.