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

[FTS] Partial results returned with "remote search error parsing respBuf:err: json: cannot unmarshal string into Go value of type error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Unknown

    Description

      *Build
      *4.5.0-2383

      Testcase
      ./testrunner -i INI_FILE.ini -t fts.stable_topology_fts.StableTopFTS.index_query_in_parallel,items=1000000,num_queries=50,GROUP=P1

      In one of the queries, I saw -

      2016-04-25 16:01:24 | INFO | MainProcess | Cluster_Thread | [task.execute] ------------------------------------------------------------------ Query # 10 -----------------------------------------------------------------
      2016-04-25 16:01:24 | INFO | MainProcess | Cluster_Thread | [fts_base.run_fts_query] Running query {"from": 0, "indexName": "default_index", "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {}, "level": ""}}, "query": {"field": "type", "match": "emp"}, "size": 10000000} on node: 172.23.106.175:8094
      2016-04-25 16:02:32 | INFO | MainProcess | Cluster_Thread | [rest_client.run_fts_query] Status: {u'successful': 12, u'failed': 20, u'total': 32, u'errors': {u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_348f5c3c': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_348f5c3c":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_348f5c3c/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_321cbb28': u'context deadline exceeded', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_596cc6a1': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_596cc6a1":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_596cc6a1/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_0ffd4517': u'context deadline exceeded', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_24e7ea2d': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_24e7ea2d":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_24e7ea2d/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_9284f0ad': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_9284f0ad":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_9284f0ad/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_63ef8109': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_63ef8109":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_63ef8109/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_f17535e5': u'context deadline exceeded', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_76ac2a42': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_76ac2a42":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_76ac2a42/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_a4a23588': u'context deadline exceeded', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_d8c75a95': u'context deadline exceeded', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_8b80958a': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_8b80958a":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_8b80958a/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_4728ab89': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_4728ab89":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_4728ab89/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_e64340fa': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_e64340fa":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_e64340fa/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_b7ff6b68': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_b7ff6b68":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_b7ff6b68/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_4cdba0cf': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_4cdba0cf":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_4cdba0cf/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_54127e67': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_54127e67":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_54127e67/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_3cf74ad7': u'context deadline exceeded', u'IndexClient - http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_dee61dfa': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_dee61dfa":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.139:8094/api/pindex/default_index_362ce020b3d62b13_dee61dfa/query, err: json: cannot unmarshal string into Go value of type error', u'IndexClient - http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_5b1351c0': u'remote: search error parsing respBuf: {"status":{"total":1,"failed":1,"successful":0,"errors":{"default_index_362ce020b3d62b13_5b1351c0":"context deadline exceeded"}},"request":{"query":{"match":"emp","field":"type","boost":1,"prefix_length":0,"fuzziness":0},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false},"hits":null,"total_hits":0,"max_score":0,"took":0,"facets":null}\n, queryURL: http://172.23.106.176:8094/api/pindex/default_index_362ce020b3d62b13_5b1351c0/query, err: json: cannot unmarshal string into Go value of type error'}}
       
      2016-04-25 16:06:26 | INFO | MainProcess | Cluster_Thread | [task.execute] FTS hits for query: {"field": "type", "match": "emp"} is 108179 (took 60031.115876ms)
      

      I think this is consistently reproducible.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty