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

[Guardrails] Reduction of bucket ramQuota shouldn't be allowed post creation of maximum number of collections allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0
    • ns_server
    • OS - Debian 10
      Couchbase server version - 7.6.0-1566
    • Untriaged
    • Linux x86_64
    • 0
    • No

    Description

      Steps:

      1. Initialise a 1 node cluster running just the kv service.
      2. Create a CouchStore bucket with ramQuota=1000MiB.
      3. Create 1000 collections in the bucket.
      4. Verified that no more collections can be created with the error message '{"errors":{"_":"Maximum number of collections (1000) for this bucket has been reached"}}'
      5. Reduced bucket ramQuota to 512MiB.

      We shouldn't be allowed to have 1000 collections with just 512MiB ramQuota. Event though it's not mentioned in the PRD, I think enforcing this would prevent the issues like MB-56853 which is one of the reasons we have this guard rail in the first place.

      Attachments

        For Gerrit Dashboard: MB-58874
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty