Releases: sap-commerce-tools/sanecleanup
Releases · sap-commerce-tools/sanecleanup
v3.4.1
v3.4.0
Added
- Cleanup
SavedValue
s for delete operations after one month - Experimental: Define DB indices to accelerate cleanup queries in CCv2
The minimum required versions for this feature are: 1905.33, 2005.17, 2011.12, 2105.2
Please always make sure to stay on the latest patch release!
In case of problems- Report an issue in this repository
- Comment-out the offending type / index in
sanecleanup-items.xml
Changed
- Composite cronjob to cleanup
SavedValue
/SavedValueEntry
ProcessTaskLog
cleanup now checksmodifiedTime
like all the other cleanup jobs
Fixed
- Custom CMS Version GC job (
jdbcVersionGCJob
) is now backwards compatible with 2105 and recent patch releases (#3).
If you are on a more recent Commerce version, the job will do nothing. Please use the improved ootb cleanup instead (introduced with 1905.30, 2005.14, 2011.9).
Upgrade Guide
- Remove triggers of cronjobs that are now part of a composite job.
- Remove custom CMS version gc job
REMOVE Trigger; cronJob(code)[unique = true]
;savedValueEntryCleanupCronJob;
# remove custom job
REMOVE Cronjob;code[unique = true]
;jdbcVersionGCCronJob;
v3.3.0
Added
- Retention periods are now configurable via properties
(checkproject.properties
for details)
Changed
- Retention rules and cron jobs that depend on each other are now grouped and
executed in the correct order via composite cronjobs
Additional details in CHANGELOG.md
v3.2.0
Added
- Cleanup
ProcessTaskLog
(thanks to @ashwinineha 🎉)
v3.1.0
v3.0.0
Added
- Cleanup all
BusinessProcess
- allBusinessProcess
es, regardless of their state,
are deleted after 6 months at the latest. Make sure to adjust this to your project
requirements! - Cleanup potentially orphaned items related to
BusinessProcess
- Aggressive cleanup for
cmsVersionGCProcess
- Cleanup additional generated impex media
- Cleanup
EmailMessage
andEmailAddress
- Cleanup
SolrIndexOperation
- Cleanup all types related to Distributed ImpEx
retentionrule-to-impex.groovy
- helper script that takes the results of aFlexibleSearchRetentionRule
and delete
the outdated items via impex. Useful for bulk cleanup.- README now documents queries to analyze outdated/stale data
Changed
-
CMS Version Garbage Collection Job
- renamed to
jdbcVersionGCCronJob
/jdbcVersionGCJob
- optimized cleanup logic
- dynamically determine correct DB table names using the type system
- renamed to
-
Simplify cronjob retention rule (
cronJobRule
) -
Cleanup CronJobs now execute between 00:00 - 06:00
-
Longer retention period (4 weeks) for successfully finished
BusinessProcess
Fixed
- CMS Version Garbage Collection Job - job is now abortable for real
Upgrade Guide
-
Delete old CMS Version GC Job definition
REMOVE CronJob;code[unique=true];job(code)[unique=true] ;cmsVersionGCCronJob;cmsVersionGCJob; REMOVE ServicelayerJob;code[unique=true];springId[unique=true]; ;cmsVersionGCJob;cmsVersionGCPerformable;
New rules and configuration managment
Changed
- Cleanup jobs / retention rules are now imported on-demand based on the extensions the project uses.
Added
-
Custom retention cronjob to replace CMS Version Garbage Collection.
The ootb garbage collection mechanism is over-engineered and should be a regular cronjob. -
Retention rules and jobs for the promotion engine, based on Top 10 Recommendations for Improving the Performance of your Commerce Cloud Promotion Engine
Add bulk delete cronjob for cronjob logs...
... to help projects that have never cleaned up the cronjob logs before
Initial Release
v1.0.0 v1.0.0