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

FTS: Deleting scope not deleting fts index

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      7.6.0-2090

      • 3 node cluster: kv, search + kv, query, search + search
      • Create bucket: default and scope: scope1
      • Create 3 collection2 in scope1
      • load 10 docs on all 3 collections
      • Create index like below:

        2024-02-07 17:29:00 | INFO | MainProcess | test_thread | [on_prem_rest_client.urllib_request] Making a rest request api=http://172.23.216.99:8094/api/index/default_index_1 verb=PUT params={"type": "fulltext-index", "name": "default_index_1", "uuid": "", "params": {"store": {"kvStoreName": "mossStore", "mossStoreOptions": {}, "indexType": "scorch"}, "mapping": {"default_mapping": {"properties": {}, "dynamic": false, "enabled": false}, "types": {"scope1.collection1": {"default_analyzer": "standard", "dynamic": true, "enabled": true}, "scope1.collection2": {"default_analyzer": "standard", "dynamic": true, "enabled": true}, "scope1.collection3": {"default_analyzer": "standard", "dynamic": true, "enabled": true}}}, "doc_config": {"mode": "scope.collection.type_field", "type_field": "type"}}, "sourceType": "couchbase", "sourceName": "default", "sourceUUID": "", "planParams": {"numReplicas": 0, "maxPartitionsPerPIndex": 171, "indexPartitions": 1}, "sourceParams": {}} 
        

      • Deleting scope1, not deleting the index

      Logs:
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/scopedelete/collectinfo-2024-02-08T013312-ns_1%40172.23.216.99.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/scopedelete/collectinfo-2024-02-08T013312-ns_1%40172.23.217.13.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/scopedelete/collectinfo-2024-02-08T013312-ns_1%40172.23.217.14.zip

      Attachments

        For Gerrit Dashboard: MB-60721
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty