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

Not able to create index with node IP mentioned in create index query command

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Steps to reproduce:-

       

      1. Create 1 node cluster with KV:INDEX:Query:SEARCH service on CBS 7.0.0.-3090 CE edition.
      2. Create a bucket name default
      3. Load data to _default collection of default bucket
      4. Run query to create index - 

       

      CREATE INDEX employee763d4e1a5ac746eda73539106a74534ejoin_yr ON default(join_yr)
      USING GSI WITH {'nodes': ['10.112.190.101:8091'], 'defer_build': True}
       
      [
        {
          "code": 5000,
          "msg": "GSI CreateIndex() - cause: Indexer node (10.112.190.101:8091) not found. The node may be failed or under rebalance or network partitioned from query process.",
          "query": "CREATE INDEX employee763d4e1a5ac746eda73539106a74534ejoin_yr ON default(join_yr)\nUSING GSI  WITH {'nodes': ['10.112.190.101:8091'], 'defer_build': True}"
        }
      ]
      
      

       

       

      However, when use 127.0.01 as node ip, it created index successfully.

      CREATE INDEX employee763d4e1a5ac746eda73539106a74534ejoin_yr ON default(join_yr)
      USING GSI  WITH {'nodes': ['127.0.0.1:8091'], 'defer_build': True}
       
      {
        "results": []
      }
       
       
      query 
      

       

       

       

      query 

      Attachments

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

        Activity

          People

            sai.teja Sai Krishna Teja
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty