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

FTS] cannot create new index, path already exist, during rollback

    XMLWordPrintable

Details

    Description

      Version: couchbase-cloud-server-7.2.1-5878

      Test Scenario : Test code


      Steps involved in the test:

      1. 15 scopes and 60 collections across 3 buckets
        • Each bucket -> 10M data 1 index on each collection -> 60 indexes
      2. Sleep - 15 mins
      3. Run FTS Queries FTS Flex Queries Random fashion for 2 hrs
      4. Kill CBFT
      5. sleep for 15 mins
      6. Scale out to 5 nodes
      7. Create 10 more fts indexes with following config :
        • 1 Index | 1 Replica | 5 Partitions
        •  3 Indexes | 2 Replicas | 6 Partitions
        • 6 Indexes | 0 Replicas | 4 Partitions
      8. Sleep for 15 mins
      9. Run FTS Queries FTS Flex Queries Random fashion for 30 mins again
      10.  Kill CBFT
      11. Sleep for 15 mins
      12. Rebalance/Scale in to 4 nodes

      Seeing the following errors in logs :

      2023-07-27T18:44:24.697+00:00 [ERRO] bleve: new index, path: /var/cb/data/@fts/bucket_default1_idx_cuzvo-public_likes-type-free_parking_2bf81c2e14aa878f_4fcb2c84.pindex, kvStoreName: scorch, kvConfig: map[string]interface {}{"asyncErrorCallbackName":"scorchAsyncErrorCallbacks", "bolt_timeout":"30s", "create_if_missing":true, "error_if_exists":true, "eventCallbackName":"scorchEventCallbacks", "forceSegmentType":"zap", "forceSegmentVersion":15, "indexType":"scorch", "kvStoreName":"scorch", "numSnapshotsToKeep":3, "unsafe_batch":true}, err: cannot create new index, path already exists -- cbft.RollbackBleve.func1() at pindex_bleve.go:912 

      Attachments

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

        Activity

          People

            sarthak.dua Sarthak Dua
            sarthak.dua Sarthak Dua
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty