Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
HA
-
2
-
Enhancement
-
PuppetDB now unifies report and resource event clean up during a full garbage collection, instead of handling each in a separate transaction. This ensures it only waits on the exclusive lock to drop relevant event partitions once.
-
Needs Assessment
Description
Previously during a full gc, we'd gc reports (and the associated events), then we'd gc events (again). Instead, handle all the events during the report gc by adjusting the report gc to consider both the report ttl and the events ttl. Then in cases where we know we just ran the report gc, don't run the event gc.
This will ensure we only wait on the exclusive lock to drop any
relevant event partitons once during a full gc.