Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0
-
OS - Debian 10
Couchbase server version - 7.6.0-1566
-
Untriaged
-
Linux x86_64
-
0
-
No
Description
Steps:
- Initialise a 1 node cluster running just the kv service.
- Create a CouchStore bucket with ramQuota=1000MiB.
- Create 1000 collections in the bucket.
- Verified that no more collections can be created with the error message '{"errors":{"_":"Maximum number of collections (1000) for this bucket has been reached"}}'
- 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 |
198145,11 | MB-58874: Prevent quota decrease below min for num collections | master | ns_server | Status: MERGED | +2 | +1 |