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

[FTS-Scorch] No docs indexed when there is no default bucket

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Build
      5.5.0-2764

      Testcase
      ./testrunner -i /tmp/testexec.18506.ini -p cluster=D+F,get-cbcollect-info=True,GROUP=PS,fts_quota=512,index_type=scorch -t fts.stable_topology_fts.StableTopFTS.create_simple_default_index,items=10000,default_bucket=False,sasl_buckets=1,GROUP=PS

      This test tests indexing on a non-default bucket.

      [2018-05-20 02:23:02,518] - [fts_base:883] INFO - Creating fulltext-index sasl_bucket_1_index_1 on 172.23.98.164
      [2018-05-20 02:23:02,519] - [rest_client:2691] INFO - {"params": {"store": {"mossStoreOptions": {}, "kvStoreName": "mossStore", "indexType": "scorch"}}, "name": "sasl_bucket_1_index_1", "planParams": {"numReplicas": 0, "maxPartitionsPerPIndex": 171}, "sourceName": "sasl_bucket_1", "sourceUUID": "", "sourceType": "couchbase", "type": "fulltext-index", "uuid": ""}
      [2018-05-20 02:23:02,544] - [rest_client:2698] INFO - Index sasl_bucket_1_index_1 created
      [2018-05-20 02:23:02,545] - [fts_base:3533] INFO - Validating index distribution for sasl_bucket_1_index_1 ...
      [2018-05-20 02:23:02,635] - [fts_base:3551] INFO - Validated: Number of PIndexes = 6
      [2018-05-20 02:23:02,656] - [fts_base:3563] INFO - Validated: Every pIndex serves 171 partitions or lesser
      [2018-05-20 02:23:02,656] - [fts_base:3587] INFO - Expecting num of partitions in each node in range 853-1024
      [2018-05-20 02:23:02,656] - [fts_base:3602] INFO - Validated: Node a1f3545003449a212f21596fb27f12d1 houses 6 pindexes which serve 1024 partitions
      [2018-05-20 02:23:02,703] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:02,716] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:08,778] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:08,795] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:14,853] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:14,874] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:20,936] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:20,955] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:27,011] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:27,033] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:33,092] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:33,115] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:39,175] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:39,200] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:45,256] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:45,287] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:51,343] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:51,371] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:23:57,443] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:23:57,468] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:03,523] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:03,548] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:09,609] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:09,637] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:15,696] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:15,723] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:21,781] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:21,808] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:27,865] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:27,891] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:33,952] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:33,978] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:40,035] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:40,061] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:46,122] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:46,149] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:52,211] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:52,239] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:24:58,303] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:24:58,328] - [fts_base:3440] INFO - Docs in bucket = 10000, docs in FTS index 'sasl_bucket_1_index_1': 0
      [2018-05-20 02:25:04,392] - [rest_client:1917] INFO - http://172.23.98.164:8091/pools/default/buckets/sasl_bucket_1/stats?zoom=minute
      [2018-05-20 02:25:04,421] - [fts_base:3725] INFO - Docs in index sasl_bucket_1_index_1=0, bucket docs=10000
      FAIL
      

      On .164, I see errors related to not finding the default bucket -

       
      2018-05-20T02:23:02.860-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_18572d87: bucketName: default, bucketUUID: , err: worker auth, AuthenticateMemcachedConn, server: 127.0.0.1:11210, err: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: 
      2018-05-20T02:23:02.860-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: worker auth, AuthenticateMemcachedConn, server: 127.0.0.1:11210, err: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: 
      2018-05-20T02:23:02.860-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_13aa53f3: bucketName: default, bucketUUID: , err: worker auth, AuthenticateMemcachedConn, server: 127.0.0.1:11210, err: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: 
      2018-05-20T02:23:02.860-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: worker auth, AuthenticateMemcachedConn, server: 127.0.0.1:11210, err: MCResponse status=KEY_ENOENT, opcode=0x89, opaque=0, msg: 
      2018-05-20T02:23:03.086-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_13aa53f3: bucketName: default, bucketUUID: , err: No bucket named default
      2018-05-20T02:23:03.086-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_13aa53f3: bucketName: default, bucketUUID: , err: could not connect to any serverURL: []string{"http://127.0.0.1:8091"}
      2018-05-20T02:23:03.086-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: could not connect to any serverURL: []string{"http://127.0.0.1:8091"}
      2018-05-20T02:23:03.086-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: No bucket named default
      2018-05-20T02:23:03.093-07:00 [INFO] main: meh.OnFeedError, VerifyBucketNotExists, srcType: couchbase, gone: true, err: No bucket named default
      2018-05-20T02:23:03.093-07:00 [INFO] main: meh.OnFeedError, DeleteAllIndexFromSource, srcType: couchbase, bucketName: default, bucketUUID: 
      2018-05-20T02:23:03.106-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_18572d87: bucketName: default, bucketUUID: , err: No bucket named default
      2018-05-20T02:23:03.106-07:00 [INFO] feed_dcp: OnError, name: default_index_1_7b45a2ec97a6e910_18572d87: bucketName: default, bucketUUID: , err: could not connect to any serverURL: []string{"http://127.0.0.1:8091"}
      2018-05-20T02:23:03.106-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: could not connect to any serverURL: []string{"http://127.0.0.1:8091"}
      2018-05-20T02:23:03.106-07:00 [INFO] main: meh.OnFeedError, srcType: couchbase, err: No bucket named default
      2018-05-20T02:23:03.111-07:00 [INFO] main: meh.OnFeedError, VerifyBucketNotExists, srcType: couchbase, gone: true, err: No bucket named default
      2018-05-20T02:23:03.111-07:00 [INFO] main: meh.OnFeedError, DeleteAllIndexFromSource, srcType: couchbase, bucketName: default, bucketUUID: 
      

      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