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

deleting items during rebalance results in desynced view

    Details

      Description

      1) cluster 2 nodes together
      2) add 100 json items
      3) create a simple view with _count reduce
      4) verify that all items are returned in the view
      5) start to rebalance in a 3rd node, while at the same time start deleting all the keys
      6) wait till both rebalance and deletes are done
      7) verify that all items are deleted from memcached
      8) verify that all items are gone from the view
      at this point in my test I had 7 items left

      1. logs_deletion.tar.bz2
        316 kB
        Aliaksey Artamonau
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        steve Steve Yen added a comment -

        Hi Damien,
        Any news/status on this one? Ping #2.
        Thanks

        Show
        steve Steve Yen added a comment - Hi Damien, Any news/status on this one? Ping #2. Thanks
        Hide
        damien damien added a comment -

        Was able to reproduce, but haven't been able to spend a lot of time on it yet. Filipe is also looking at it.

        Show
        damien damien added a comment - Was able to reproduce, but haven't been able to spend a lot of time on it yet. Filipe is also looking at it.
        Hide
        damien damien added a comment -

        This appears to be a duplicate of MB-4692. It appears that some vbuckets aren't properly cleaned/omitted from view indexes.

        Show
        damien damien added a comment - This appears to be a duplicate of MB-4692 . It appears that some vbuckets aren't properly cleaned/omitted from view indexes.
        Hide
        filipe manana filipe manana added a comment -
        Show
        filipe manana filipe manana added a comment - http://review.couchbase.org/#change,12767 fixes it
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        viewtests.ViewRebalanceTests.test_delete_x_docs_rebalance_in 1 min 43 sec Fixed
        viewtests.ViewRebalanceTests.test_delete_x_docs_rebalance_out 1 min 53 sec Fixed
        viewtests.ViewRebalanceTests.test_load_x_during_rebalance 6 min 17 sec Fixed
        viewtests.ViewRebalanceTests.test_view_stop_start_incremental_rebalance

        build : 2.0.0r-643-g4e529d3

        Show
        farshid Farshid Ghods (Inactive) added a comment - viewtests.ViewRebalanceTests.test_delete_x_docs_rebalance_in 1 min 43 sec Fixed viewtests.ViewRebalanceTests.test_delete_x_docs_rebalance_out 1 min 53 sec Fixed viewtests.ViewRebalanceTests.test_load_x_during_rebalance 6 min 17 sec Fixed viewtests.ViewRebalanceTests.test_view_stop_start_incremental_rebalance build : 2.0.0r-643-g4e529d3

          People

          • Assignee:
            damien damien
            Reporter:
            keith Keith Batten (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes