Module krill::upgrades

source ·
Expand description

Support Krill upgrades, e.g.:

  • Updating the format of commands or events
  • Export / Import data

Modules

Structs

Enums

Traits

Functions

  • Finalise the data migration for an upgrade.
  • Should be called after the KrillServer is started, but before the web server is started and operators can make changes.
  • Prepares a Krill upgrade related data migration. If no data migration is needed then this will simply be a no-op. Returns the [KrillUpgradeVersions] if the currently deployed Krill version differs from the code version. Note that the version may have increased even if there is no data migration needed.

Type Aliases