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

create index failed due to add index node does not set storageMode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      Ugrade 2 nodes cluster from 3.x to watson 4.5.0-1808.
      After upgrade, add 3rd watson node in with index service
      Then add 4th node in with n1ql service.
      Create primary index failed due to error

      "Please Set Indexer Storage Mode Before Create Index'"

      2016-03-14 14:19:13,827 - root - INFO - query params : statement=CREATE+PRIMARY+INDEX+ON+default++USING+GSI
      2016-03-14 14:19:13,951 - root - ERROR - ERROR during index creation CBQError: host 172.23.106.250: ERROR:{u'status': u'errors', u'errors': [{u'msg': u'GSI CreatePrimaryIndex() - cause: Please Set Indexer Storage Mode Before Create Index', u'code': 5000}], u'results': [], u'metrics': {u'elapsedTime': u'73.035306ms', u'executionTime': u'72.876425ms', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}, u'requestID': u'c756324c-5bb0-49c4-b38e-501048f44100', u'signature': None}
      2016-03-14 14:19:13,952 - root - INFO - CBQError: host 172.23.106.250: ERROR:{u'status': u'errors', u'errors': [{u'msg': u'GSI CreatePrimaryIndex() - cause: Please Set Indexer Storage Mode Before Create Index', u'code': 5000}], u'results': [], u'metrics': {u'elapsedTime': u'73.035306ms', u'executionTime': u'72.876425ms', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}, u'requestID': u'c756324c-5bb0-49c4-b38e-501048f44100', u'signature': None}
      2016-03-14 14:19:13,952 - root - INFO - *** Failed to create_index ***
      *** Stop all events to stop the test ***
      

      When use API to add node, do I need to set storageMode to forestdb?
      Where could I get API information in add node?

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            thuan Thuan Nguyen
            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