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

[Guardrails] Swap Rebalance fails with reason "rr_will_be_too_low:The following buckets are expected to breach the resident ratio minimum"

    XMLWordPrintable

Details

    Description

      Steps:

      1. Initialise a 2 node cluster running 7.6.0-1550 version with just the KV service. The 2 nodes are 172.23.106.242 and 172.23.107.110
      2. Configure magmaMinimum=30 in http://172.23.106.242:8091/settings/resourceManagement

      {"bucket":{"collectionsPerQuota":{"enabled":true,"maximum":1},"dataSizePerNode":{"couchstoreMaximum":1.6,"enabled":true,"magmaMaximum":16},"residentRatio":{"couchstoreMinimum":10,"enabled":true,"magmaMinimum":30}},"coresPerBucket":{"enabled":true,"minimum":0.4},"diskUsage":{"enabled":true,"maximum":85}} 

      1. Create a Magma bucket named 'default' with ramQuota=512 per node. Create 3 scopes and 3 collections in each scope.
      2. Load data until the resident ratio guardrail (30%) is breached. Validated the same with some new inserts and received SDK error 'BUCKET_RESIDENT_RATIO_TOO_LOW'.
      3. Tried swap rebalance of 172.23.107.110 with a spare node 172.23.106.29 but it failed with the reason "rr_will_be_too_low:The following buckets are expected to breach the resident ratio minimum: default"
      4. The issue that I see here is, since swap rebalances do not ideally change the resident ratios of the bucket after the completion of rebalance, it should be allowed right?

      Cb-collect info logs have been 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:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty