Skip to content

Horizon upgrade best practices #145

Closed

Description

@sreuland

What problem does your feature solve?

No copy present in current docs https://developers.stellar.org/docs/run-api-server/ for how to upgrade a recent installed horizon to newer version. There is copy on migrating from 1.x which is obsolete now?

What would you like to see?

  • Rename Migrating from 1.x menu to be 'Upgrade', and repurpose the right hand side page content:
    • How does user verify if state rebuilds will be triggered?
    • How does user know if database schema upgrades will be triggered and for how long?
      • Changelog usually mentions if db schema changed and expected duration of the new migrations step added ...
      • What mechanisms or cli tricks are available to check if a schema migration will be triggered from current to new?
        • install new horizon on a machine that has access to db, don't start it, just run horizon db migrate status ... what else is better to do here?
    • Describe how db schema migration is invoked automatically by horizon at start up, are there any command line flags that affect or related to this upgrade behavior? I.e. if ingest=false, it skips attempting schema upgrades and just starts web server.
    • What are recommended pre-upgrade steps:
      • determine if a new version of horizon will trigger a schema update
      • back up db
      • multi-instance deployment considerations, rolling upgrades, if helm this is managed.

What alternatives are there?

Activity

  1. moved this from Backlog to Next Sprint Proposal in Platform Scrumon May 16, 2023
  2. moved this from Next Sprint Proposal to Current Sprint in Platform Scrumon Jun 20, 2023
  3. sreuland commented on Jul 7, 2023

    @sreuland
    ContributorAuthor
  4. self-assigned this
    on Aug 28, 2023
  5. moved this from Current Sprint to In Progress in Platform Scrumon Aug 28, 2023
  6. added a commit that references this issue on Sep 21, 2023
  7. moved this from In Progress to Needs Review in Platform Scrumon Sep 21, 2023
  8. added 5 commits that reference this issue on Sep 21, 2023
  9. sreuland commented on Sep 27, 2023

    @sreuland
    ContributorAuthor

    merged #241

  10. moved this from Needs Review to Done in Platform Scrumon Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions