$darkmode
Elektra 0.11.0
Bootstrap

Currently, the default backend (default.ecf) will also be used for bootstrapping. There are two problems with this approach:

  1. Thus the default backend first will be read with parentKey system:/elektra and later with parentKey system:/, it needs to store absolute paths and thus won't work with most of the plugins (except dump).
  2. When system: is large without mount points, everything is reread twice during bootstrapping.

Split up the concepts of default (default.ecf) and bootstrap (elektra.ecf) backend. During bootstrap only elektra.ecf is read. The default backend reading default.ecf is only relevant as long as no root backend is mounted.

Algorithm:

  1. get system:/elektra using the file elektra.ecf (KDB_DB_INIT)
  2. mount elektra.ecf (the init backend) to system:/elektra

Added scripts/upgrade-bootstrap to migrate from previous setups to upgrade to new system, either: