Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8987

Zero time upgrade for Bitbucket DC

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Now Bitbucket DC does not allow to upgrade to recent versions (major release or minor release) without downtime. We need 0-time upgrade for our production environment.

      Possible way to solve it:

      Let's image that we have BB DC running on version 4.8.0 on 2 nodes:

      • Upgrade one node to 4.8.1, now BB DC have only one working node on 4.8.0, server still work as 4.8.0. Node started on 4.8.1 take pause until database complete migration.
      • Then database starts migration, Bitbucket pass into readonly mode, disallowed database write, also disallow Git operations except git clone/git fetch to clients.
      • After database migrated, node on 4.8.0 became to invactive and mometally node on 4.8.1 starts working, Bitbucket now switched to new version and starts working in full mode.
      • Other nodes upgrades in usual mode.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              3652ed9ede2e Alexey Efimov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: