Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width70%

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.

Table of Contents
maxLevel4

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. 

Column
width30%

Installation

Section
Column
width70%

Maven is the easiest way to install the module. Add the following dependency to your bundle:

Code Block
languagexml
<dependency>
  <groupId>info.magnolia.freeze<services</groupId>
  <artifactId>magnolia-freeze<<artifactId>versioncleaner</artifactId>
  <version>${freezeVersion}</version>
</dependency>
Column
width30%

Versions

1.6.14Magnolia 5.65+
1.63Magnolia 5.65+
1.52Magnolia 5.65+

Usage

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.

Commands

All the commands can be found in the freeze catalog: /module/freeze/commands/freeze

...