cli: Resolve past engine type correctly with encryption-at-rest
The default engine type resolves to the last used engine type, which is determined by reading the OPTIONS file in the store directory. However if encrypted at rest is enabled, we need to set up the encrypted vfs first before that file can be read. This change makes that happen. Fixes #48148. Release note (cli change): Make --storage-engine sticky (i.e. resolve to the last used engine type when unspecified) even when specified stores are encrypted at rest.
Showing with 146 additions and 36 deletions