Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1605

PartitionCounts missing in SearchTest results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.6
    • None
    • None
    • None
    • 2.6.6

    Description

      Affected version of GO SDK: 2.6.6
      Cluster: 7.1, 7.2, 7.6

      Tests:
      SearchTest.docIdQuery

      SearchTest.matchQuery
      SearchTest.regexpQuery
      SearchTest.rowHasLocations

      Taking example of docIdQuery() test, We are sending below searchQuery to run() function:

      doc_id {
        ids: "38d8bfa4-0c1e-43c7-93d7-317998ec308e"
      }
      

      And the run() function is returning in GO as:

      rows {
        index: "global_index_3b081b_5c87def2bc7fb58b_4c1c5584"
        id: "38d8bfa4-0c1e-43c7-93d7-317998ec308e"
        score: 1.0
      }
      facets {
      }
      meta_data {
        metrics {
          total_rows: 1
          max_score: 1.0
        }
      }

      While in Java:

      rows {
        index: "default.scope_97e303.scoped_index_97e303_1cc2542d7a1bb037_4c1c5584"
        id: "50de984a-0a61-4f0f-a9d1-df4a88ff3de1"
        score: 1.0
        explanation: "{}"
      }
      facets {
      }
      meta_data {
        metrics {
          total_rows: 1
          max_score: 1.0
          total_partition_count: 1
          success_partition_count: 1
        }
      } 

      And missing of `total_partition_count` and `success_partition_count` is making multiple tests to fail in this line.

       

      Attachments

        Issue Links

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

          Activity

            People

              Dimitris.Christodoulou Dimitris Christodoulou
              aaliya.haque Aaliya Haque
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty