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

Travel-sample indexes are not loaded after loading the bucket

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Morpheus
    • Morpheus
    • secondary-index
    • Enterprise Edition 7.2.0 build 1085

    Description

      Build: 7.2.0-1085

      Scenario:

      • 4 node cluster [KV :: KV :: index,query :: cbas,backup]
      • Setup n2n encryption on the cluster
      • Load 'travel-sample' bucket

      Observation:

      Travel-sample loading took too long for loading and no indexes are created on the travel-sample bucket.

      Attachments

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

        Activity

          Index storage mode is not set hence the index creation failure.

          2022-04-24T22:56:02.850-07:00 [Error] clustMgrAgent::OnIndexCreate: Error for Create Index: instId 6062133680308474829, indexDefn DefnId: 9117065217566033678 Name: def_inventory_route_primary Using: plasma Bucket: travel-sample Scope/Id: inventory/d Collection/Id: route/15 IsPrimary: true NumReplica: 0 InstVersion: 0         SecExprs: <ud>([])</ud>         Desc: []        PartitionScheme: SINGLE         HashScheme: CRC32 PartitionKeys: [] WhereExpr: <ud>()</ud> RetainDeletedXATTR: false . Error: Please Set Indexer Storage Mode Before Create Index.
          2022-04-24T22:56:02.850-07:00 [Error] LifecycleMgr.CreateIndex() : createIndex fails. Reason = Please Set Indexer Storage Mode Before Create Index
          2022-04-24T22:56:02.868-07:00 [Error] LifecycleMgr.processCommitToken() : create index fails.  Reason = Please Set Indexer Storage Mode Before Create Index

          How was the server started?

          yogendra.acharya Yogendra Acharya (Inactive) added a comment - Index storage mode is not set hence the index creation failure. 2022-04-24T22:56:02.850-07:00 [Error] clustMgrAgent::OnIndexCreate: Error for Create Index: instId 6062133680308474829, indexDefn DefnId: 9117065217566033678 Name: def_inventory_route_primary Using: plasma Bucket: travel-sample Scope/Id: inventory/d Collection/Id: route/15 IsPrimary: true NumReplica: 0 InstVersion: 0 SecExprs: <ud>([])</ud> Desc: [] PartitionScheme: SINGLE HashScheme: CRC32 PartitionKeys: [] WhereExpr: <ud>()</ud> RetainDeletedXATTR: false . Error: Please Set Indexer Storage Mode Before Create Index. 2022-04-24T22:56:02.850-07:00 [Error] LifecycleMgr.CreateIndex() : createIndex fails. Reason = Please Set Indexer Storage Mode Before Create Index 2022-04-24T22:56:02.868-07:00 [Error] LifecycleMgr.processCommitToken() : create index fails. Reason = Please Set Indexer Storage Mode Before Create Index How was the server started?

          I cross checked the server and confirmed the indexPartition was not set.

          The test code is trying to set the indexStorage mode here,

          https://github.com/couchbaselabs/TAF/blob/6334b7441009953c3f45e04f5fd7c25a0cbc282d/pytests/bucket_collections/app/app_basetest.py#L241

           Will debug further why this code is failing in TAF's perspective and I'll update this ticket.

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - I cross checked the server and confirmed the indexPartition was not set. The test code is trying to set the indexStorage mode here, https://github.com/couchbaselabs/TAF/blob/6334b7441009953c3f45e04f5fd7c25a0cbc282d/pytests/bucket_collections/app/app_basetest.py#L241  Will debug further why this code is failing in TAF's perspective and I'll update this ticket.

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty