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

active/replica mismatch when rebalancing out a node with 100 items , replica=2 where some of the items are deleted ( seems like deletion is not replicated )

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0-beta
    • None
    • couchbase-bucket
    • Security Level: Public
    • None

    Description

      build-1395

      case to reproduce:
      ./testrunner -i FILE.ini -t rebalance.rebalanceout.RebalanceOutTests.rebalance_out_with_ops,nodes_out=1,replicas=2,items=100,doc_ops=create;update;delete

      steps for the case, for instance:
      1.created cluster with 7 nodes and replica=2, create default bucket
      2.upload 100 docs
      Active / Replica = 100/200 - OK
      3.rebalance out 1 node and during rebalancing perform doc's operation:
      a) update 49 docs
      Active / Replica = 100/200 - OK
      b) create 49 docs
      Active / Replica = 149/298 - OK
      c) delete 50 items

      result:
      Active / Replica = 99/298 - value for replica was not changed!

      This is a regression, many rebalance tests fell

      also, the similar steps with screenshots can be found http://www.couchbase.com/issues/browse/MB-5754

      Attachments

        1. node1.txt
          11 kB
        2. node1tap.txt
          9 kB
        3. node2.txt
          11 kB
        4. node2.txt
          11 kB
        5. node3.txt
          11 kB
        6. node3tap.txt
          9 kB
        7. replica_vBucket.png
          replica_vBucket.png
          103 kB
        8. Screen Shot 2012-07-02 at 10.31.32 AM.png
          Screen Shot 2012-07-02 at 10.31.32 AM.png
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            andreibaranouski Andrei Baranouski
            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