microstream
microstream copied to clipboard
Importing root requires storage restart
Importing a root into a new storage requires the storage to be restarted. Otherwise the storage root stays null.
Steps to reproduce:
- create or start a storage with a non-null root element
- export the storage data using
one.microstream.storage.types.StorageConnection.exportTypes - start a new, empty storage
- import the previously imported data (don’t forget to copy/ update the type Dictionary)
one.microstream.storage.types.StorageConnection.importFiles - query the storage root, it will be null
Object importedRoot = storage.root() - restart the import storage, query root again, it is no more null