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

FTS: fts node is failing during collection based index build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • fts

    Description

      Build: 7.0.0-3016

      Steps to reproduce:

      • create cluster containing 3 nodes: 

      kv, query, fts
      kv, fts
      fts

      • create bucket 'default'
      • create collection default.scope1.collection1
      • load 20,000 documents into created collection
      • create fts index:

      {
       "name": "default_index_1",
       "type": "fulltext-index",
       "params": {
        "doc_config": {
         "docid_prefix_delim": "",
         "docid_regexp": "",
         "mode": "scope.collection.type_field",
         "type_field": "type"
        },
        "mapping": {
         "default_analyzer": "standard",
         "default_datetime_parser": "dateTimeOptional",
         "default_field": "_all",
         "default_mapping": {
          "dynamic": true,
          "enabled": false
         },
         "default_type": "_default",
         "docvalues_dynamic": true,
         "index_dynamic": true,
         "store_dynamic": false,
         "type_field": "_type",
         "types": {
          "scope1.collection1": {
           "dynamic": true,
           "enabled": true
          }
         }
        },
        "store": {
         "indexType": "scorch",
         "segmentVersion": 14
        }
       },
       "sourceType": "gocbcore",
       "sourceName": "default",
       "sourceUUID": "ca4c814979040bfebb17b36fb28ce486",
       "sourceParams": {},
       "planParams": {
        "maxPartitionsPerPIndex": 11,
        "indexPartitions": 100,
        "numReplicas": 1
       },
       "uuid": "4b7220d676df1c14"
      }
      

      During index creation you can find the lollowing log records:

      Service 'fts' exited with status 137. Restarting. Messages:
      2020-09-10T20:40:55.039-07:00 [INFO] app_herder: indexing over indexQuota: 576000000, memUsed: 6028333300, preIndexingMemory: 64956, indexes: 484, waiting: 374
      2020-09-10T20:41:42.609-07:00 [WARN] ns_server: retrieve partition seqs: operation has timed out -- cbft.RunSourcePartitionSeqs() at ns_server.go:1070
      2020-09-10T20:42:02.884-07:00 [INFO] cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/indexDefs, key: indexDefs, deletion: false
      2020-09-10T20:42:05.076-07:00 [INFO] cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/planPIndexesLean/planPIndexesLean-dbfdce84043fca4c2cbc97da8e756a5b-1599795719871/default_index_1, key: planPIndexesLean/planPIndexesLean-dbfdce84043fca4c2cbc97da8e756a5b-1599795719871/default_index_1, deletion: false
      2020-09-10T20:42:05.791-07:00 [INFO] ctl: kickIndexDefs, kind: cfgEvent
      2020-09-10T20:42:06.646-07:00 [INFO] cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/curMetaKvPlanKey, key: curMetaKvPlanKey, deletion: false
      2020-09-10T20:42:33.360-07:00 [WARN] ns_server: retrieve partition seqs: operation has timed out -- cbft.RunSourcePartitionSeqs() at ns_server.go:1070
      

      Cluster logs are attached.

      Attachments

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

        Activity

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            evgeny.makarenko Evgeny Makarenko (Inactive)
            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