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

[Magma] - Magma buckets doesn't seem to honour the bucket quota allocated during CRUD on scopes/collections

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • No
    • Magma-Aug-2-2021, Magma-Aug-9-2021, Magma-Aug-16-2021

    Description

      Script to Repro

      guides/gradlew --refresh-dependencies testrunner -P jython=/opt/jython/bin/jython -P 'args=-i /tmp/win10-bucket-ops-temp_rebalance_even2-magma.ini rerun=False,get-cbcollect-info=True,quota_percent=99,crash_warning=True,retry_get_process_num=600,bucket_storage=magma,enable_dp=True -t bucket_collections.collections_drop_recreate_rebalance.CollectionsDropRecreateRebalance.test_data_load_collections_with_graceful_failover_recovery,nodes_init=6,nodes_failover=2,bucket_spec=multi_bucket.buckets_1000_collections,recovery_type=full'
      

      Steps to Repro
      1. Create a 6 node cluster.
      2021-07-21 04:48:11,726 | test | INFO | pool-3-thread-7 | [table_view:display:72] Rebalance Overview
      -----------------------------------------------------------------------

      Nodes Services Version CPU Status

      -----------------------------------------------------------------------

      172.23.121.135 kv 7.1.0-1084-enterprise 0.852023555945 Cluster node
      172.23.121.136 None     <--- IN —
      172.23.121.139 None     <--- IN —
      172.23.121.140 None     <--- IN —
      172.23.121.141 None     <--- IN —
      172.23.121.48 None     <--- IN —

      -----------------------------------------------------------------------

      2. Create bucket/scopes/collections/data
      2021-07-21 04:50:03,946 | test | INFO | MainThread | [table_view:display:72] Bucket statistics

      Bucket Type Storage Backend Replicas Durability TTL Items RAM Quota RAM Used Disk Used ARR
      syHT0HY2saQLkh6x3XDUDOqmhqOJG4gGItlzwbmdWDMiPvpggCn-22-261000 couchbase magma 2 none 0 3000000 11.72 GiB 2.39 GiB 1.87 GiB 100

      3. Start CRUD on collections. This involves create/drop/recreate of scopes/collections. This will go on in parallel till the end of the test.

      4. Graceful failover one node(172.23.121.135). This works fine.
      5. Graceful failover another node(172.23.121.136).

      During the step 5 when I logged into UI noticed the RAM used >>> Quota allocated for the bucket. See

      cbcollect_info attached.

      Attachments

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

        Activity

          People

            Balakumaran.Gopal Balakumaran Gopal
            Balakumaran.Gopal Balakumaran Gopal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty