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

[Upgrade][Mixed mode] zap version 15 isn't supported in mixed version cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • 7.1.0
    • 7.1.0
    • fts
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Build: 6.6.5.10080 --> 7.1.0-2232

      • 4 node 6.6.5 cluster with kv,n1ql,fts + kv, n1ql + fts + fts
      • Load travel-sample
      • create fts indexes
      • Do the below for kv nodes
      1. remove - node
      2. uninstall couchbase and install 7.1.0
      3. Addback the node with kv,n1ql
      • Run the below command to create index with segmentVersion 15:

        curl -XPUT -H "Content-Type: application/json" \
        -u Administrator:password http://172.23.97.211:8094/api/index/second-6-6-upgrade -d \
        '{
          "type": "fulltext-index",
          "sourceType": "couchbase",
          "sourceName": "travel-sample",
          "planParams": {
            "maxPartitionsPerPIndex": 1024,
            "indexPartitions": 10
          },
          "params": {
            "doc_config": {
              "docid_prefix_delim": "",
              "docid_regexp": "",
              "mode": "type_field",
              "type_field": "type"
            },
            "mapping": {
              "analysis": {},
              "default_analyzer": "standard",
              "default_datetime_parser": "dateTimeOptional",
              "default_field": "_all",
              "default_mapping": {
                "dynamic": true,
                "enabled": false
              },
              "default_type": "_default",
              "docvalues_dynamic": false,
              "index_dynamic": true,
              "store_dynamic": false,
              "type_field": "_type",
              "types": {
                "airport": {
                  "dynamic": false,
                  "enabled": true,
                  "properties": {
                    "country": {
                      "dynamic": false,
                      "enabled": true,
                      "fields": [
                        {
                          "index": true,
                          "name": "country",
                          "type": "text"
                        }
                      ]
                    }
                  }
                }
              }
            },
            "store": {
              "indexType": "scorch",
              "segmentVersion": 15
            }
          },
          "sourceParams": {}
        }'
        

      When we run the above command using 7.1 node it throws below error:

      {"error":"rest_create_index: error creating index: second, err: manager_api: CreateIndex, Prepare failed, err: bleve: Prepare, err: zap version 15 isn't supported in mixed version cluster","request":{"params":{"doc_config":{"docid_prefix_delim":"","docid_regexp":"","mode":"type_field","type_field":"type"},"mapping":{"analysis":{},"default_analyzer":"standard","default_datetime_parser":"dateTimeOptional","default_field":"_all","default_mapping":{"dynamic":true,"enabled":false},"default_type":"_default","docvalues_dynamic":false,"index_dynamic":true,"store_dynamic":false,"type_field":"_type","types":{"airport":{"dynamic":false,"enabled":true,"properties":{"country":{"dynamic":false,"enabled":true,"fields":[{"index":true,"name":"country","type":"text"}]}}}}},"store":{"indexType":"scorch","segmentVersion":15}},"planParams":{"indexPartitions":6,"maxPartitionsPerPIndex":1024},"sourceName":"travel-sample","sourceParams":{},"sourceType":"couchbase","type":"fulltext-index"},"status":"fail"}
      

      Is the above documented ?

      When we run the above command on 6.6 node it succeeds. Is this expected?

      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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty