Skip to content

core:purge-old-archive-data command: remove --force-optimize-tables option and always optimise tables #14498

@mattab

Description

@mattab

Customer reported bug that running the command ./console core:purge-old-archive-data all didn't save DB space. They also had to run ./console database:optimize-archive-tables all afterwards.

Suggested steps:

  • In the core:purge-old-archive-data console command, let's remove --force-optimize-tables option and always optimise tables
  • in Db::optimizeTables let's remove the second parameter $force = false and always force optimise tables (the code already checks isOptimizeInnoDBSupported which should be enough) (not wanted actually)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions