Problem/Motivation

We should include a few new improvements which includes:

  • Making the entity key dynamic
  • Update the output to use io and improve readability
  • Update logger to use promotion
  • Add chunking method to avoid memory issues on large sets
  • Move revision id querying work into the queue for faster adding
  • Move functions into a service class for reusability

This should allow us to expand later if we want.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

j-barnes created an issue. See original summary.

j-barnes’s picture

j-barnes’s picture

Status: Active » Needs review
j-barnes’s picture

Issue summary: View changes
Status: Needs review » Needs work
j-barnes’s picture

Title: Improvements for types and output » Improvements for types, memory and reusability
j-barnes’s picture

Issue summary: View changes
j-barnes’s picture

Issue summary: View changes
j-barnes’s picture

Status: Needs work » Needs review
StatusFileSize
new22.19 KB
sunny-lee’s picture

Status: Needs review » Reviewed & tested by the community

Looks good! Works faster and no more php errors. Tested with about 100k revisions that needed to be deleted, average time before was about 1k a day and after this one almost all were gone within a day, easier to target content types instead of individual entities.

j-barnes’s picture

Status: Reviewed & tested by the community » Needs review

Thanks for testing!

j-barnes’s picture

  • j-barnes committed edcdb3e5 on 1.0.x
    Issue #3516084 by j-barnes, sunny-lee: Improvements for types, memory...
j-barnes’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.