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

Default index storage mode is not set and fails with 'Please Set Indexer Storage Mode Before Create Index'

    XMLWordPrintable

Details

    Description

      Build: 7.2.0-1085

      Scenario:

      • Initialized single KV node with, "clusterEncryptionLevel": "strict"
      • Rebalance in 3 more nodes

        +----------------+-----------------+-----------------------+---------------+--------------+
        | Nodes          | Services        | Version               | CPU           | Status       |
        +----------------+-----------------+-----------------------+---------------+--------------+
        | 172.23.105.155 | kv              | 7.2.0-1085-enterprise | 2.77567499369 | Cluster node |
        | 172.23.105.211 | ['kv']          |                       |               | <--- IN ---  |
        | 172.23.105.212 | ['index,n1ql']  |                       |               | <--- IN ---  |
        | 172.23.105.213 | ['backup,cbas'] |                       |               | <--- IN ---  |
        +----------------+-----------------+-----------------------+---------------+--------------+

      • Loaded travel-sample bucket
      • Try creating a primary index on a collection

      Observation:

      Fails with the following error.

       

      CREATE PRIMARY INDEX booking_data_primary ON `travel-sample`.`agent_1`.`booking_data`;
       
      [
        {
          "code": 4350,
          "msg": "GSI CreatePrimaryIndex() - cause: Please Set Indexer Storage Mode Before Create Index\n"
        }
      ]

      Note: the same scenario was working fine in 7.1.0

       

      Attachments

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

        Activity

          No work has yet been logged on this issue.

          People

            amit.kulkarni Amit Kulkarni
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty