OAK-4654 introduces the possibility to use a node store (eg. segment node store) as a local subtree for the remote document node store. The local store has to be initialised, preferably with the content already existing in the main document node store. oak-upgrade, with its --include-paths option can be used to do that. However, nodes in the local store has to be extended with some extra properties. The sidegrade process should optionally add these properties.
The new feature should be available after setting system property "oak.upgrade.addSecondaryMetadata" to true.