/status should returns "Maintenance" instead of "Running" when nodes are IN Read-Only mode

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Data Center - Core
    • None
    • 1
    • 3

      Summary

      When an admin is utilizing Read-Only to have one node to perform administrative tasks such as reindex, he/she would want to exclude user traffic (load balancer) to that particular node.

      Issue Statement

      The admin would have to manually configure it in the load balancer and revert the changes after the maintenance tasks complete. Currently, when Confluence is in 'read-only' mode, /status will return "RUNNING".

      Proposed Solution

      As the load balancer is already utilizing the JSON response from /status to determine instance health, it makes sense for the node to return "Maintenance" when it's in "Read-Only" mode so that the admin can configure the load balancer to not redirect traffic while it's in "Maintenance" mode automatically.

      Side Note

      For this to work, when the whole cluster is going on "Read-Only" mode, one dedicated node (that are performing the tasks) has to be nominated to return the Maintenance status, so only one particular node is excluded from the load balancer pool.

            Assignee:
            Unassigned
            Reporter:
            Jonathan Soo
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: