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

some docs are lost during rebalance in/out when queries are performed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None
    • Environment:
      centos-64
      build: version=2.0.0-1218-rel

      Description

      Failing testcase:
      viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in,num_nodes:7
      viewquerytests.ViewQueryTests.test_employee_dataset_alldocs_queries_rebalance_in,num_nodes:7
      viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_out,num_nodes:7

      jenkin's results: http://qa.hq.northscale.net/job/centos-64-vew-merge-tests/101/

      steps in cases:
      1. load data(Employee dataset is used: default bucket, 5 views)
      2. add 6 node into cluster and starting rebalancing
      3. during rebalancing perform queries

      result: number of retrieved documents does not correspond to expected
      AssertionError: ['None\n', 'Traceback (most recent call last):\n File "pytests/viewquerytests.py", line 401, in run_queries\n tc.assertEquals(num_keys, expected_num_docs, val)\nAssertionError: Query failed: 67120 Documents Retrieved, expected 67200\n', 'Traceback (most recent call last):\n File "pytests/viewquerytests.py", line 401, in run_queries\n tc.assertEquals(num_keys, expected_num_docs, val)\nAssertionError: Query failed: 67120 Documents Retrieved, expected 67200\n', 'Traceback (most recent call last):\n File "pytests/viewquerytests.py", line 401, in run_queries\n tc.assertEquals(num_keys, expected_num_docs, val)\nAssertionError: Query failed: 67125 Documents Retrieved, expected 67200\n', 'Traceback (most recent call last):\n File "pytests/viewquerytests.py", line 401, in run_queries\n tc.assertEquals(num_keys, expected_num_docs, val)\nAssertionError: Query failed: 67125 Documents Retrieved, expected 67200\n', 'Traceback (most recent call last):\n File "pytests/viewquerytests.py", line 401, in run_queries\n tc.assertEquals(num_keys, expected_num_docs, val)\nAssertionError: Query failed: 134247 Documents Retrieved, expected 134405\n']

      1. 10.2.2.108-8091-diag.txt.gz
        1.80 MB
        Andrei Baranouski
      2. 10.2.2.109-8091-diag.txt.gz
        1.27 MB
        Andrei Baranouski
      3. 10.2.2.60-8091-diag.txt.gz
        3.29 MB
        Andrei Baranouski
      4. 10.2.2.63-8091-diag.txt.gz
        1.25 MB
        Andrei Baranouski
      5. 10.2.2.64-8091-diag.txt.gz
        1.24 MB
        Andrei Baranouski
      6. 10.2.2.65-8091-diag.txt.gz
        1.24 MB
        Andrei Baranouski
      7. 10.2.2.67-8091-diag.txt.gz
        1.24 MB
        Andrei Baranouski
      8. xdcr.py
        60 kB
        Jin Lim
      9. xdcr-adv.conf
        2 kB
        Jin Lim
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        jin Jin Lim (Inactive) added a comment -

        Looks like this was another test environment issue. Can you please take a look at the last comment from Aliaksey and see to it? Thanks.

        Show
        jin Jin Lim (Inactive) added a comment - Looks like this was another test environment issue. Can you please take a look at the last comment from Aliaksey and see to it? Thanks.
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        all tests are passed in 2.0.0-1330-rel

        Show
        andreibaranouski Andrei Baranouski added a comment - all tests are passed in 2.0.0-1330-rel
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Can I ask what changes were made to fix this?
        Was it any change in a component, the tests, or the test environment configuration?

        We've seen this happening some times (not too often however) with very different builds, just want to make sure it's gone for sure.

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Can I ask what changes were made to fix this? Was it any change in a component, the tests, or the test environment configuration? We've seen this happening some times (not too often however) with very different builds, just want to make sure it's gone for sure.
        Hide
        tommie Tommie McAfee added a comment -

        Possible this bug is related? MB-5534
        encountered in 2.0 build 1334

        Show
        tommie Tommie McAfee added a comment - Possible this bug is related? MB-5534 encountered in 2.0 build 1334
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Duplicate of MB-5534.

        Nothing was fixed here, the problem existed until MB-5534 was fixed (ep-engine issue).

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Duplicate of MB-5534 . Nothing was fixed here, the problem existed until MB-5534 was fixed (ep-engine issue).

          People

          • Assignee:
            andreibaranouski Andrei Baranouski
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes