Freeze allows you to stop all publication activity on a Magnolia instance temporarily. Authors can continue to work in the system during the freeze but they cannot version content or publish content. Freeze is useful when you want to swap author instances or you want to make sure that public instances stay in sync during an upscaling event.
The Freeze module provides commands for managing a global freeze flag. Using these commands it's possible to set and unset the freeze flag.
The version cleaner module provides commands to remove old or duplicated versions from your version store. Which versions are selected for removal can be configured through voters.
Analyzing and removing unneeded versions can take a lot of time, the version cleanup command can be configured to examine a set number of versions (actually nodes in the version workspace) and then stop. The next run of the version cleanup command will resume from the node last analyzed.
The version cleaner can be configured to select which versions are deleted or retained.
Maven is the easiest way to install the module. Add the following dependency to your bundle:
The module provides a set of commands useful for controlling and reading the freeze flag. These command can be used in a variety of ways to create a freeze event. A freeze is cumulative. Meaning, successive calls to freeze start must be followed by the same number of calls to stop before the freeze is lifted.for removing selected versions from the version history.
All the commands can be found in the freeze catalog: