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

REST API - On Delta Recovery failure messages are not informative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.0, 3.0.1
    • 3.0
    • ns_server, RESTful-APIs
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      You can repro this by doing the following

      1. Create a 4 node cluster
      2. Add default bucket with 100K items
      3. Hard Failover a node and mark it for delta recovery
      4. using CLI add a node and rebalance

      Rebalance fails since delta recovery cannot be done in the above scenario. However, the message is not informative

      Message as seen by running cli command::

      ERROR: unable to rebalance cluster (400) Bad Request

      {u'deltaRecoveryNotPossible': 1}

      [root@palm-10307 bin]#

      The above message is what the REST API returns without giving information the scenario which fails the rebalance. In the UI this is a different message which tells us that we were trying to rebalance-in/out/swap which led to the failure.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            parag Parag Agarwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty