Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60264

Rebalance shows as completed when there is an error fetching the rebalance progress

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, Morpheus
    • UI
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      When ns_server has an error fetching the rebalance progress, the tasks endpoint will return a task including following fields (among others):

      {
        "type": "rebalance",
        "status": "notRunning",
        "statusIsStale": true,
        "masterRequestTimedOut": true  // Or false, depending on the error
      }
      

      Specifically, if we see "statusIsStale": true, this means there was an error getting the rebalance status, so "notRunning" is not necessarily correct.

      Currently, the UI interprets this as a completed rebalance, giving a misleading indication. See MB-60118 for an example.

      The expected behaviour would be for the UI to show the previous task status, since in the worst case the UI would have out-dated information, rather than entirely incorrect. Additionally, the stale status could be shown in the UI, making it clear that the information is likely to be out of date.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Pramada.Kolichala Pramada Kolichala
              peter.searby Peter Searby
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty