Skip to content

Rename PersistenceType to StorageType - #6084

Merged
johnsimons merged 6 commits into
masterfrom
rename-persistencetype
Nov 23, 2026
Merged

johnsimons merged 6 commits into
masterfrom
rename-persistencetype

Conversation

@rbev

@rbev rbev commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Important

Targeted for 7.0, should not be merged to master until it is time to mark that branch for the major update

Rename the Error and Audit instance storage setting to match the ServiceControl 7 documentation. Preserve the selected storage engine when the installer upgrades an existing instance.

Changes

  • Rename the runtime settings properties, constructor parameters, configuration keys, environment variables, diagnostics, and acceptance-test configuration to StorageType.
  • Update the development configuration files and Dockerfile environment settings. Container images retain their existing RavenDB default under the new name.
  • Rename the testing tool's --persistence option to --storage and update its README, UI guidance, and load-testing documentation.
  • Update configuration approval files and remove an unused approval file.

Upgrade behavior

The installer reads StorageType first and falls back to PersistenceType when the new setting is absent or blank. Configuration writes use the resolved persistence manifest to populate StorageType, preserving the selected engine rather than migrating data.

The installer removes PersistenceType when the installed instance reaches version 7.0.0, including prereleases. Earlier instances retain the legacy key so their runtimes can continue reading it. This applies to both Error and Audit instances and covers configuration edits and configuration restoration after an upgrade.

The runtime reads only StorageType; the legacy fallback belongs to the installer. Manually managed configurations and environment variables using PersistenceType must be renamed. The audit configuration API retains its existing persistence.persistence_type response field to avoid changing that public response shape.

@rbev rbev self-assigned this Nov 3, 2026
@rbev rbev changed the title Rename PersistenceType to StorageType [Do not merge] Rename PersistenceType to StorageType Nov 3, 2026
@rbev
rbev force-pushed the rename-persistencetype branch from f6f8a46 to ae65403 Compare November 4, 2026 02:04
@rbev
rbev added this pull request to stack #6161 November 19, 2026 02:54
@rbev rbev changed the title [Do not merge] Rename PersistenceType to StorageType Rename PersistenceType to StorageType Nov 23, 2026
@rbev
rbev removed this pull request from stack #6161 November 23, 2026 02:45
@rbev
rbev added this pull request to stack #6172 November 23, 2026 02:45
@rbev
rbev force-pushed the rename-persistencetype branch from c053fcd to 2c4a5a6 Compare November 23, 2026 02:46
@rbev
rbev force-pushed the rename-persistencetype branch from 15fc0e6 to ade21eb Compare November 23, 2026 04:26
@johnsimons
johnsimons force-pushed the rename-persistencetype branch from ade21eb to 6607da2 Compare November 23, 2026 05:20
@johnsimons
johnsimons merged commit f3a9aa7 into master Nov 23, 2026
71 checks passed
@johnsimons
johnsimons deleted the rename-persistencetype branch November 23, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants