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

[FTS] Query with consistency vectors does not return results

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Unknown
    • FTS Sprint Mar-30-2018

    Description

      Build
      5.5.0-2155 (not seen on earlier builds, maybe a regression or an intermittent issue)

      Testcase
      ./testrunner -i /tmp/testexec.12963.ini -p cluster=D+F,get-cbcollect-info=True,GROUP=P0 -t fts.stable_topology_fts.StableTopFTS.test_match_consistency_error,update=True,consistency_level=at_plus,consistency_vectors="""{"default_index_1": {"1": 5}}""",GROUP=P0

      Index scheme: upside-down

      /data/workspace/centos-p0-fts-vset00-00-stabletopologyP0/logs/testrunner-18-Mar-14_16-36-16/test_31, slave - 172.23.106.162

      Steps
      1. D,F cluster - F-.118
      2. load 1000 docs and create default index, wait for docs in index=1000
      3. Fire a query with consistency vectors, no result is returned.

      2018-03-14 17:23:56,728] - [fts_base:876] INFO - Creating fulltext-index default_index_1 on 172.23.106.118
      [2018-03-14 17:23:56,728] - [rest_client:2667] INFO - {"params": {"store": {"mossStoreOptions": {}, "kvStoreName": "mossStore"}}, "name": "default_index_1", "planParams": {"numReplicas": 0, "maxPartitionsPerPIndex": 171}, "sourceName": "default", "sourceUUID": "", "sourceType": "couchbase", "type": "fulltext-index", "uuid": ""}
      [2018-03-14 17:23:56,756] - [rest_client:2674] INFO - Index default_index_1 created
      [2018-03-14 17:23:56,757] - [fts_base:3515] INFO - Validating index distribution for default_index_1 ...
      [2018-03-14 17:23:56,783] - [fts_base:3401] INFO - sleep for 5 secs. No pindexes found, waiting for index to get created ...
      [2018-03-14 17:24:01,837] - [fts_base:3533] INFO - Validated: Number of PIndexes = 6
      [2018-03-14 17:24:01,850] - [fts_base:3545] INFO - Validated: Every pIndex serves 171 partitions or lesser
      [2018-03-14 17:24:01,851] - [fts_base:3569] INFO - Expecting num of partitions in each node in range 853-1024
      [2018-03-14 17:24:01,851] - [fts_base:3584] INFO - Validated: Node c1f1eb8bc1dbaa169169837aa6ee9497 houses 6 pindexes which serve 1024 partitions
      [2018-03-14 17:24:01,883] - [rest_client:1896] INFO - http://172.23.106.118:8091/pools/default/buckets/default/stats?zoom=minute
      [2018-03-14 17:24:01,895] - [fts_base:3424] INFO - Docs in bucket = 1000, docs in FTS index 'default_index_1': 1000
      [2018-03-14 17:24:01,963] - [rest_client:1896] INFO - http://172.23.106.118:8091/pools/default/buckets/default/stats?zoom=minute
      [2018-03-14 17:24:01,974] - [fts_base:3707] INFO - Docs in index default_index_1=1000, bucket docs=1000
      [2018-03-14 17:24:01,975] - [fts_base:3284] INFO - Updating keys @ C1 with expiry=0
      [2018-03-14 17:24:02,132] - [data_helper:295] INFO - creating direct client 172.23.106.118:11210 default
      [2018-03-14 17:24:02,497] - [fts_base:3321] INFO - Batched updates loaded to cluster(s)
      [2018-03-14 17:24:02,498] - [fts_base:3401] INFO - sleep for 60 secs. Waiting for updates to get indexed... ...
      [2018-03-14 17:25:02,591] - [rest_client:1896] INFO - http://172.23.106.118:8091/pools/default/buckets/default/stats?zoom=minute
      [2018-03-14 17:25:02,618] - [fts_base:3424] INFO - Docs in bucket = 1000, docs in FTS index 'default_index_1': 1000
      [2018-03-14 17:25:02,700] - [rest_client:1896] INFO - http://172.23.106.118:8091/pools/default/buckets/default/stats?zoom=minute
      [2018-03-14 17:25:02,727] - [fts_base:3707] INFO - Docs in index default_index_1=1000, bucket docs=1000
      [2018-03-14 17:25:02,742] - [fts_base:1991] INFO - Running query {"indexName": "default_index_1", "from": 0, "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {"default_index_1": {"1": 5}}, "level": "at_plus"}}, "query": {"match_all": {}}, "size": 10000000} on node: 172.23.106.118:
      [2018-03-14 17:27:02,755] - [fts_base:1075] ERROR - Error running query: ''
      [2018-03-14 17:27:02,756] - [stable_topology_fts:166] INFO - Hits: -1
      [2018-03-14 17:27:02,758] - [remote_util:232] INFO - connecting to 172.23.106.118 with username:root password:couchbase ssh_key:
      [2018-03-14 17:27:02,962] - [remote_util:266] INFO - Connected to 172.23.106.118
      [2018-03-14 17:27:03,483] - [remote_util:745] INFO - 172.23.106.118 **** The version file /opt/couchbase/ VERSION.txt  exists
      [2018-03-14 17:27:03,600] - [remote_util:3047] INFO - running command.raw on 172.23.106.118: /etc/init.d/couchbase-server stop
      [2018-03-14 17:27:06,858] - [remote_util:3084] INFO - command executed successfully
      [2018-03-14 17:27:06,859] - [fts_base:3284] INFO - Updating keys @ C1 with expiry=0
      [2018-03-14 17:27:06,961] - [rest_client:816] ERROR - socket error while connecting to http://172.23.106.118:8091/nodes/self error [Errno 111] Connection refused 
      [2018-03-14 17:27:09,967] - [rest_client:816] ERROR - socket error while connecting to http://172.23.106.118:8091/nodes/self error [Errno 111] Connection refused 
      [2018-03-14 17:27:12,972] - [rest_client:816] ERROR - socket error while connecting to http://172.23.106.118:8091/nodes/self error [Errno 111] Connection refused 
      [2018-03-14 17:29:07,131] - [rest_client:818] ERROR - Tried ta connect 41 times
      [2018-03-14 17:29:07,132] - [remote_util:232] INFO - connecting to 172.23.106.118 with username:root password:couchbase ssh_key:
      [2018-03-14 17:29:07,376] - [remote_util:266] INFO - Connected to 172.23.106.118
      [2018-03-14 17:29:07,860] - [remote_util:745] INFO - 172.23.106.118 **** The version file /opt/couchbase/ VERSION.txt  exists
      [2018-03-14 17:29:07,982] - [remote_util:3047] INFO - running command.raw on 172.23.106.118: /etc/init.d/couchbase-server start
      [2018-03-14 17:29:10,453] - [remote_util:3084] INFO - command executed successfully
      [2018-03-14 17:29:10,453] - [remote_util:2882] INFO - Starting couchbase-server
      [2018-03-14 17:29:10,453] - [remote_util:2882] INFO - [  OK  ]
      ERROR
      

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty