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

/status endpoint should return 503 Service Unavailable if Stash can't serve traffic (hasn't finished repartitioning, is reaching resource limits, ...)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 10
    • 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

      When Stash:

      1. has started but repartitioning hasn't finished running yet, or
      2. is queuing requests (either hosting or command tickets are maxed out),

      then the /status endpoint should probably return 503 Service Unavailable. This would tell most load balancers to direct traffic to a different node.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cszmajda Cristan Szmajda (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: