Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizon upgrade best practices #145

Closed
sreuland opened this issue May 12, 2023 · 2 comments
Closed

Horizon upgrade best practices #145

sreuland opened this issue May 12, 2023 · 2 comments
Assignees

Comments

@sreuland
Copy link
Contributor

sreuland commented May 12, 2023

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?

@sreuland sreuland moved this from Backlog to Next Sprint Proposal in Platform Scrum May 16, 2023
@mollykarcher mollykarcher moved this from Next Sprint Proposal to Current Sprint in Platform Scrum Jun 20, 2023
@sreuland
Copy link
Contributor Author

sreuland commented Jul 7, 2023

PR's should be targeted to https://github.com/stellar/stellar-docs/tree/partner_experience feature branch, all the partner experience tickets will accrue on that feature branch first.

@sreuland sreuland self-assigned this Aug 28, 2023
@sreuland sreuland moved this from Current Sprint to In Progress in Platform Scrum Aug 28, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 21, 2023
@sreuland sreuland moved this from In Progress to Needs Review in Platform Scrum Sep 21, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 21, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 22, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 22, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 23, 2023
sreuland added a commit to sreuland/stellar-docs that referenced this issue Sep 26, 2023
@sreuland
Copy link
Contributor Author

merged #241

@github-project-automation github-project-automation bot moved this from Needs Review to Done in Platform Scrum Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant