Skip to content

Conversation

@ramonsmits
Copy link
Member

@ramonsmits ramonsmits commented Nov 9, 2023

  1. SCMU now also has an Upgrade Instance under advanced settings for audit instances.
  2. Powershell cmdlets Invoke-ServiceControlAuditInstanceUpgrade and Invoke-ServiceControlInstanceUpgrade now have -ForceRecreateDatabase switch. When set the database path will be moved and the persister manifest will be forced to the latest Raven engine.

@ramonsmits ramonsmits changed the title Force upgrade also created for audit instance and added force upgrade… Force upgrade for audit instance and added force upgrade to Powershell Nov 9, 2023
@ramonsmits ramonsmits requested a review from DavidBoike November 9, 2023 13:27
@ramonsmits ramonsmits self-assigned this Nov 9, 2023
@ramonsmits ramonsmits marked this pull request as draft November 9, 2023 15:03
DisableFullTextSearchOnBodies = DisableFullTextSearchOnBodies,
UpgradeInfo =
UpgradeControl.GetUpgradeInfoForTargetVersion(installer.ZipInfo.Version, instance.Version),
UpgradeInfo = UpgradeControl.GetUpgradeInfoForTargetVersion(installer.ZipInfo.Version, instance.Version),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the continued references to installer.ZipInfo.Version are silly. Every installer and zip available in the app is going to be the same version, and that version is easily accessible using Constants.CurrentVersion. Using the installer for that just makes all this code harder to refactor.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code doesn't compile on this so I just removed this whole line

@ramonsmits ramonsmits force-pushed the force-upgrade-audit-and-powershell branch from 1fdacdc to f021a4a Compare November 13, 2023 11:21
@ramonsmits ramonsmits changed the base branch from master to removed-transport-check November 13, 2023 11:21
Base automatically changed from removed-transport-check to master November 13, 2023 18:31
@DavidBoike DavidBoike marked this pull request as ready for review November 13, 2023 18:31
@DavidBoike DavidBoike force-pushed the force-upgrade-audit-and-powershell branch from f021a4a to 52cf898 Compare November 13, 2023 19:25
@DavidBoike DavidBoike enabled auto-merge (squash) November 13, 2023 19:45
@DavidBoike DavidBoike merged commit 4df557b into master Nov 13, 2023
@DavidBoike DavidBoike deleted the force-upgrade-audit-and-powershell branch November 13, 2023 20:02
@DavidBoike DavidBoike added this to the 5.0.0 milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants