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

Number of incoming/outgoing docs are calculated wrongly during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.6.0
    • couchbase-bucket
    • Couchbase server version - 7.6.0-2182
      OS - CentOS Linux 7

    Description

      Steps:

      1. Initialise a 2 node KV cluster running 7.6.0-2182 server version.
      2. Configure the cluster to have just 2 vbuckets.
      3. Create a Magma bucket and load docs into it. Bucket only has 2 vbuckets.
      4. Perform swap rebalance with a spare node.
        (172.23.110.65 - going out, 172.23.110.66 - coming in)
      5. During rebalance, it was observed that incoming/outgoing docs were greater than the bucket item count (as seen in the image below). Since the bucket only has 2 vbuckets, 1 vbucket would move to the destination node.
      6. After rebalance, it was observed that the node 172.23.110.66 has 6.1k documents
      7. So, the number that is displayed in the rebalance box should be close to 6.1k but it is wrongly shown as 16255.
      8. Cb-collect logs are attached.

      Attachments

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

        Activity

          People

            vibhav.sp Vibhav S P
            vibhav.sp Vibhav S P
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty