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

in replica=1 number of replica items not equal to active items after stopping the rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.8.1
    • 1.8.1-release-candidate
    • couchbase-bucket, ns_server
    • Security Level: Public
    • None

    Description

      test case:
      rebalancetests.StopRebalanceTests.stop_rebalance_1_replica

      cluster 6 nodes.
      add 200k items
      remove one node and hit rebalance - stop rebalance when its making progress

      after waiting few minutes # of active items should be equal to # of replica items

      2012-03-30 11:20:52,948 - root - INFO - delta : 2729 missing_percentage : 0.0312389107018 replica_factor : 1
      2012-03-30 11:20:55,361 - root - INFO - curr_items from 10.1.2.30:8091 : 35470
      2012-03-30 11:20:55,361 - root - INFO - vb_pending_num from 10.1.2.30:8091 : 0
      2012-03-30 11:20:55,362 - root - INFO - vb_active_num from 10.1.2.30:8091 : 13
      2012-03-30 11:20:55,362 - root - INFO - vb_replica_num from 10.1.2.30:8091 : 10
      2012-03-30 11:20:55,362 - root - INFO - curr_items from 10.1.2.31:8091 : 32724
      2012-03-30 11:20:55,363 - root - INFO - vb_pending_num from 10.1.2.31:8091 : 0
      2012-03-30 11:20:55,363 - root - INFO - vb_active_num from 10.1.2.31:8091 : 12
      2012-03-30 11:20:55,364 - root - INFO - vb_replica_num from 10.1.2.31:8091 : 11
      2012-03-30 11:20:55,364 - root - INFO - curr_items from 10.1.2.32:8091 : 21828
      2012-03-30 11:20:55,365 - root - INFO - vb_pending_num from 10.1.2.32:8091 : 0
      2012-03-30 11:20:55,366 - root - INFO - vb_active_num from 10.1.2.32:8091 : 8
      2012-03-30 11:20:55,366 - root - INFO - vb_replica_num from 10.1.2.32:8091 : 0
      2012-03-30 11:20:55,366 - root - INFO - curr_items from 10.1.2.33:8091 : 27303
      2012-03-30 11:20:55,367 - root - INFO - vb_pending_num from 10.1.2.33:8091 : 0
      2012-03-30 11:20:55,367 - root - INFO - vb_active_num from 10.1.2.33:8091 : 10
      2012-03-30 11:20:55,367 - root - INFO - vb_replica_num from 10.1.2.33:8091 : 14
      2012-03-30 11:20:55,368 - root - INFO - curr_items from 10.1.2.34:8091 : 30100
      2012-03-30 11:20:55,368 - root - INFO - vb_pending_num from 10.1.2.34:8091 : 0
      2012-03-30 11:20:55,368 - root - INFO - vb_active_num from 10.1.2.34:8091 : 11
      2012-03-30 11:20:55,369 - root - INFO - vb_replica_num from 10.1.2.34:8091 : 14
      2012-03-30 11:20:55,369 - root - INFO - curr_items from 10.1.2.35:8091 : 27293
      2012-03-30 11:20:55,369 - root - INFO - vb_pending_num from 10.1.2.35:8091 : 0
      2012-03-30 11:20:55,370 - root - INFO - vb_active_num from 10.1.2.35:8091 : 10
      2012-03-30 11:20:55,372 - root - INFO - vb_replica_num from 10.1.2.35:8091 : 14
      2012-03-30 11:20:55,373 - root - INFO - summation of vb_active_num : 64 vb_pending_num : 0 vb_replica_num : 63
      2012-03-30 11:20:55,374 - root - INFO - sum : 174718 and sum * replica_factor (1) : 349436
      2012-03-30 11:20:55,374 - root - INFO - master_stats : 346707
      2012-03-30 11:20:55,374 - root - INFO - delta : 2729 missing_percentage : 0.0312389107018 replica_factor : 1
      2012-03-30 11:20:57,773 - root - INFO - curr_items from 10.1.2.30:8091 : 35470
      2012-03-30 11:20:57,773 - root - INFO - vb_pending_num from 10.1.2.30:8091 : 0
      2012-03-30 11:20:57,773 - root - INFO - vb_active_num from 10.1.2.30:8091 : 13
      2012-03-30 11:20:57,774 - root - INFO - vb_replica_num from 10.1.2.30:8091 : 10
      2012-03-30 11:20:57,774 - root - INFO - curr_items from 10.1.2.31:8091 : 32724
      2012-03-30 11:20:57,775 - root - INFO - vb_pending_num from 10.1.2.31:8091 : 0
      2012-03-30 11:20:57,775 - root - INFO - vb_active_num from 10.1.2.31:8091 : 12
      2012-03-30 11:20:57,776 - root - INFO - vb_replica_num from 10.1.2.31:8091 : 11
      2012-03-30 11:20:57,776 - root - INFO - curr_items from 10.1.2.32:8091 : 21828
      2012-03-30 11:20:57,777 - root - INFO - vb_pending_num from 10.1.2.32:8091 : 0
      2012-03-30 11:20:57,777 - root - INFO - vb_active_num from 10.1.2.32:8091 : 8
      2012-03-30 11:20:57,777 - root - INFO - vb_replica_num from 10.1.2.32:8091 : 0
      2012-03-30 11:20:57,778 - root - INFO - curr_items from 10.1.2.33:8091 : 27303
      2012-03-30 11:20:57,778 - root - INFO - vb_pending_num from 10.1.2.33:8091 : 0
      2012-03-30 11:20:57,778 - root - INFO - vb_active_num from 10.1.2.33:8091 : 10
      2012-03-30 11:20:57,779 - root - INFO - vb_replica_num from 10.1.2.33:8091 : 14
      2012-03-30 11:20:57,779 - root - INFO - curr_items from 10.1.2.34:8091 : 30100
      2012-03-30 11:20:57,779 - root - INFO - vb_pending_num from 10.1.2.34:8091 : 0
      2012-03-30 11:20:57,780 - root - INFO - vb_active_num from 10.1.2.34:8091 : 11
      2012-03-30 11:20:57,781 - root - INFO - vb_replica_num from 10.1.2.34:8091 : 14
      2012-03-30 11:20:57,781 - root - INFO - curr_items from 10.1.2.35:8091 : 27293
      2012-03-30 11:20:57,781 - root - INFO - vb_pending_num from 10.1.2.35:8091 : 0
      2012-03-30 11:20:57,782 - root - INFO - vb_active_num from 10.1.2.35:8091 : 10
      2012-03-30 11:20:57,782 - root - INFO - vb_replica_num from 10.1.2.35:8091 : 14
      2012-03-30 11:20:57,783 - root - INFO - summation of vb_active_num : 64 vb_pending_num : 0 vb_replica_num : 63
      2012-03-30 11:20:57,783 - root - INFO - sum : 174718 and sum * replica_factor (1) : 349436
      2012-03-30 11:20:57,784 - root - INFO - master_stats : 346707
      2012-03-30 11:20:57,784 - root - INFO - delta : 2729 missing_percentage : 0.0312389107018 replica_factor : 1

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            farshid Farshid Ghods (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty