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

extra items appears in query results during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0
    • None
    • view-engine
    • Security Level: Public

    Description

      can be reproduced by -t viewquerytests.ViewQueryTests.test_employee_dataset_check_consistency,docs-per-day=20,skip_rebalance=True

      default bucket/200K/6 production views

      Test uses employee data set:
      -documents are structured as

      {"name": name<string>, "join_yr" : year<int>, "join_mo" : month<int>, "join_day" : day<int>, "email": email<string>, "job_title" : title<string>, "type" : type<string>, "desc" : desc<tring>}

      Steps to repro:
      1. Load data
      2. Wait for persistence
      3. Start querying - all result should appear consistent (stale=ok) Example of exact query: http://10.3.121.104:8092/default/_design/test_view-64ddc2f/_view/test_view-64ddc2f?stale=ok&connection_timeout=60000&debug=true
      4. Start rebalance 1-> 5 nodes

      2 query results are attached. During rebalance query results show 7 extra items. All of them are duplicate for 325 vbucket, gotten from both 10.3.121.104(master) and 10.3.121.105(rebalancing in node)
      example:

      {"id":"admin0010-2008_01_23","key":[2008,1,23],"partition":325,"node":"http://10.3.121.105:8092/_view_merge/","value":["employee-10-fa8e8d6","10@couchbase.com"]}

      ,

      {"id":"admin0010-2008_01_23","key":[2008,1,23],"partition":325,"node":"local","value":["employee-10-fa8e8d6","10@couchbase.com"]}

      ,

      attaching logs

      Attachments

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

        Activity

          People

            iryna iryna
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty