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

Flex index: Upgrade:Mixed cluster: earch bleveIndexAlias, err: grpc_client: no ports found for host:

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Build : 5.5.6-4733 --> 6.6.0-7781

      • Setup 5.5.6-4733 cluster with n1(kv:n1ql) n2 (kv:fts) n3(kv:index) n4(kv:fts)
      • Load some docs to bucket
      • Create index with below:

        {"params": {"mapping": {"default_analyzer": "keyword", "default_datetime_parser": "dateTimeOptional", "default_mapping": {"default_analyzer": "keyword", "dynamic": true, "enabled": true}, "type_field": "type", "analysis": {}, "default_type": "_default", "default_field": "_all"}, "store": {"mossStoreOptions": {}, "kvStoreName": "mossStore", "indexType": "scorch"}}, "name": "default_index", "planParams": {"numReplicas": 0}, "sourceName": "default", "sourceUUID": "", "sourceType": "couchbase", "type": "fulltext-index", "sourceParams": {}, "uuid": ""}
        

      • Remove n1 from cluster and upgrade to 6.6.0-7781
      • Add this node back to the cluster with kv:n1ql:index:fts
      • Running Flex query throws below error:

        [2020-06-10 14:51:00,958] - [tuq:1266] INFO - RUN QUERY select meta().id from default USE INDEX (USING FTS, USING GSI) where name = 'employee-6'
        [2020-06-10 14:51:00,958] - [rest_client:3472] INFO - query params : scan_consistency=NOT_BOUNDED&statement=select+meta%28%29.id+from+default+USE+INDEX+%28USING+FTS%2C+USING+GSI%29+where+name+%3D+%27employee-6%27
        [2020-06-10 14:51:00,967] - [rest_client:840] ERROR - POST http://172.23.97.90:8093/query?scan_consistency=NOT_BOUNDED&statement=select+meta%28%29.id+from+default+USE+INDEX+%28USING+FTS%2C+USING+GSI%29+where+name+%3D+%27employee-6%27 body:  headers: {'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==\n'} error: 500 reason: unknown {
        "requestID": "031bc8a7-5c0c-4740-9841-f85521659068",
        "signature": {"id":"json"},
        "results": [
        ],
        "errors": [{"code":5000,"msg":"n1fty: response_handler: stream.Recv, err  - cause: rpc error: code = Unavailable desc = grpc_server: Search bleveIndexAlias, err: grpc_client: no ports found for host: 172.23.97.87"}],
        "status": "errors",
        "metrics": {"elapsedTime": "4.375936ms","executionTime": "4.349128ms","resultCount": 0,"resultSize": 0,"errorCount": 1}
        } auth: Administrator:password
        

      Attachments

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

        Activity

          People

            girish.benakappa Girish Benakappa
            girish.benakappa Girish Benakappa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty