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

Cannot create index using the nodes list in the with clause

    XMLWordPrintable

Details

    Description

      Build : 6.5.0-2673
      Last known good build : 6.5.0-2671

      Create index with nodes in the with clause fails with error :
      [
      {
      "code": 5000,
      "msg": "GSI CreateIndex() - cause: Fails to create index. Nodes [172.23.109.172:8091] does not exist or is not running",
      "query": "CREATE INDEX employee485b4f915dfc4468bcf5a28a7314d6 ON default(name) USING GSI WITH

      {'nodes': ['172.23.109.172:8091'], 'defer_build': True}

      "
      }
      ]

      Create index without nodes in the with clause works fine.

      Steps to reproduce :
      1. Create a 1 node cluster with kv, index and query services
      2. Create default bucket and load some docs
      3. Create index with the following definition : CREATE INDEX employee485b4f915dfc4468bcf5a28a7314d6 ON default(name) USING GSI WITH

      {'nodes': ['172.23.109.172:8091'], 'defer_build': True}

      This fails.

      4. Create index with the following definition : CREATE INDEX employee485b4f915dfc4468bcf5a28a7314d6 ON default(name) USING GSI

      This works.

      This change could be the cause :
      Commit: 78411e465e1a6b32b211c3051cedb35f3eac2e12 in build: 6.5.0-2672
      MB-31566: Integrate GSI n1ql client with Sender interface

      Change-Id: I168328030825466c88f22ca83b007e7fe4bcfbbc

      Attachments

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

        Activity

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty