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

[FTS] No docs indexed - "main: meh.OnFeedError, srcType: couchbase, err: pkt.Receive, err: read tcp 127.0.0.1:52630->127.0.0.1:11210: use of closed network connection"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • fts
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Build
      5.5.0-2671 last ran on 2630 but failed 2 times in a row on 2671.

      Testcase

      ./testrunner -i /tmp/testexec.19856.ini -p get-cbcollect-info=True,disable_HTP=True,get-logs=False,stop-on-failure=False,cluster=D+F -t fts.stable_topology_fts.StableTopFTS.test_doc_config,mode=docid_regexp2,query={"query": "Delta"},expected_hits=4,consistency_level=,consistency_vectors="""'{\"travel-index\": {}}'""",GROUP=P0
      

      Steps
      Single node cluster - kv+fts
      1. Load travel-sample bucket
      2. create a default index
      3. When indexing starts, update the index with type mapping shown below.

      Indexing never starts. I also do not see app_herder waiting for more memory around the duration of this test.

      [2018-05-07 19:00:32,547] - [fts_base:883] INFO - Creating fulltext-index travel-index on 172.23.104.104
      [2018-05-07 19:00:32,547] - [rest_client:2696] INFO - {"params": {"store": {"mossStoreOptions": {}, "kvStoreName": "mossStore"}}, "name": "travel-index", "planParams": {"numReplicas": 0, "maxPartitionsPerPIndex": 171}, "sourceName": "travel-sample", "sourceUUID": "", "sourceType": "couchbase", "type": "fulltext-index", "uuid": ""}
      [2018-05-07 19:00:32,567] - [rest_client:2703] INFO - Index travel-index created
      [2018-05-07 19:00:32,568] - [fts_base:3533] INFO - Validating index distribution for travel-index ...
      [2018-05-07 19:00:32,586] - [fts_base:3417] INFO - sleep for 5 secs. No pindexes found, waiting for index to get created ...
      [2018-05-07 19:00:37,621] - [fts_base:3551] INFO - Validated: Number of PIndexes = 6
      [2018-05-07 19:00:37,627] - [fts_base:3563] INFO - Validated: Every pIndex serves 171 partitions or lesser
      [2018-05-07 19:00:37,628] - [fts_base:3587] INFO - Expecting num of partitions in each node in range 853-1024
      [2018-05-07 19:00:37,628] - [fts_base:3602] INFO - Validated: Node 43a27b34bee58deb385a86dd7551beee houses 6 pindexes which serve 1024 partitions
      [2018-05-07 19:00:37,628] - [fts_base:3417] INFO - sleep for 10 secs.  ...
      [2018-05-07 19:00:47,658] - [fts_base:893] INFO - Updating fulltext-index travel-index on 172.23.104.104
      [2018-05-07 19:00:47,659] - [rest_client:2710] INFO - {
         "params": {
            "doc_config": {
               "mode": "docid_regexp", 
               "docid_regexp": "\\b[a-z]{6,}"
            }, 
            "mapping": {
               "types": {
                  "airport": {
                     "dynamic": true, 
                     "display_order": 0, 
                     "default_analyzer": "en", 
                     "enabled": true
                  }, 
                  "hotel": {
                     "dynamic": true, 
                     "display_order": 0, 
                     "default_analyzer": "en", 
                     "enabled": true
                  }
               }, 
               "default_mapping": {
                  "enabled": false, 
                  "dynamic": false, 
                  "properties": {}
               }
            }, 
            "store": {
               "mossStoreOptions": {}, 
               "kvStoreName": "mossStore"
            }
         }, 
         "name": "travel-index", 
         "planParams": {
            "numReplicas": 0, 
            "maxPartitionsPerPIndex": 171
         }, 
         "sourceName": "travel-sample", 
         "sourceUUID": "", 
         "sourceType": "couchbase", 
         "type": "fulltext-index", 
         "uuid": "5f14d09741a56ef5"
      }
      [2018-05-07 19:00:47,666] - [rest_client:2717] INFO - Index/alias travel-index updated
      [2018-05-07 19:00:47,666] - [fts_base:3417] INFO - sleep for 15 secs.  ...
      [2018-05-07 19:01:02,704] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:02,721] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:08,759] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:08,781] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:14,807] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:14,825] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:20,855] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:20,873] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:26,900] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:26,921] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:33,016] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:33,075] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:39,100] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:39,118] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:45,146] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:45,166] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:51,194] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:51,214] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:01:57,242] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:01:57,261] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:03,290] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:03,308] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:09,336] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:09,355] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:15,382] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:15,400] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:21,430] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:21,451] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:27,475] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:27,494] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:33,520] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:33,542] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:39,574] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:39,592] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:45,614] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:45,633] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:51,660] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:51,680] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:02:57,711] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:02:57,730] - [fts_base:3440] INFO - Docs in bucket = 31591, docs in FTS index 'travel-index': 0
      [2018-05-07 19:03:03,758] - [rest_client:1917] INFO - http://172.23.104.104:8091/pools/default/buckets/travel-sample/stats?zoom=minute
      [2018-05-07 19:03:03,777] - [fts_base:3725] INFO - Docs in index travel-index=0, bucket docs=31591
      FAIL
      

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty