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

active item/replica item number mismatch post rebalance on 181 (total replica count is lesser than total active count*replica_factor)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 2.0
    • 1.8.1-release-candidate
    • couchbase-bucket
    • Security Level: Public
    • None
    • 1.8.1-815-rel
      2 buckets

      Centos 64 bit

    Description

      Test case failing:-
      swaprebalance.SwapRebalanceBasicTests.do_test,replica=2,num-buckets=2,num-swap=1

      Basic swaprebalance of 1 node

      Test cases failing
      swaprebalance.SwapRebalanceFailedTests.test_add_back_failed_node,replica=2,num-buckets=2,num-swap=3,swap-orchestrator=True

      1) Failover 3 nodes, including the orchestrator
      2) rebalance them out
      3) Add back the 3 node
      4) Rebalance in
      5) Results in data loss

      Cluster @ 10.1.3.74

      Seems to be regression from http://www.couchbase.com/issues/browse/MB-5193

      couchbase:testrunner karan$ python scripts/ssh.py -i swap.ini "/opt/couchbase/bin/cbstats localhost:11210 all bucket-0 password |grep items"
      10.1.3.74
      curr_items: 15552
      curr_items_tot: 46638
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 47228
      ep_total_del_items: 0
      ep_total_new_items: 81495
      ep_uncommitted_items: 0
      vb_active_curr_items: 15552
      vb_pending_curr_items: 0
      vb_replica_curr_items: 31086

      10.1.3.79
      curr_items: 13930
      curr_items_tot: 41763
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 42282
      ep_total_del_items: 2438
      ep_total_new_items: 227195
      ep_uncommitted_items: 0
      vb_active_curr_items: 13930
      vb_pending_curr_items: 0
      vb_replica_curr_items: 27833

      10.1.3.80
      curr_items: 13933
      curr_items_tot: 41584
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 42096
      ep_total_del_items: 2488
      ep_total_new_items: 224318
      ep_uncommitted_items: 0
      vb_active_curr_items: 13933
      vb_pending_curr_items: 0
      vb_replica_curr_items: 27651

      10.1.3.76
      curr_items: 13975
      curr_items_tot: 41826
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 42377
      ep_total_del_items: 2576
      ep_total_new_items: 197397
      ep_uncommitted_items: 0
      vb_active_curr_items: 13975
      vb_pending_curr_items: 0
      vb_replica_curr_items: 27851

      10.1.3.75
      curr_items: 13702
      curr_items_tot: 43174
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 43704
      ep_total_del_items: 2477
      ep_total_new_items: 232395
      ep_uncommitted_items: 0
      vb_active_curr_items: 13702
      vb_pending_curr_items: 0
      vb_replica_curr_items: 29472

      10.1.3.77
      curr_items: 13894
      curr_items_tot: 38447
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 38896
      ep_total_del_items: 0
      ep_total_new_items: 77506
      ep_uncommitted_items: 0
      vb_active_curr_items: 13894
      vb_pending_curr_items: 0
      vb_replica_curr_items: 24553

      10.1.3.78
      curr_items: 13852
      curr_items_tot: 38553
      ep_diskqueue_items: 0
      ep_items_rm_from_checkpoints: 39027
      ep_total_del_items: 0
      ep_total_new_items: 70145
      ep_uncommitted_items: 0
      vb_active_curr_items: 13852
      vb_pending_curr_items: 0
      vb_replica_curr_items: 24701

      Attachments

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

        Activity

          People

            farshid Farshid Ghods (Inactive)
            karan Karan Kumar (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

                PagerDuty