[BP 7.1.2 MB-52651] - Memory limits are not checked while setting eventingMemoryQuota via REST API

Description

Came across this issue while testing honouring cgroup limits feature.

STEPS
Try to set eventing ram quota to a value greater than maximum allowed quota.

CASE A
Using api/v1/config REST API

Eventing ram quota updated successfully .

CASE B
Using pools/default endpoint or UI

Appropriate error displayed in this case.

Components

Affects versions

Fix versions

Labels

Environment

Enterprise Edition 7.1.1 build 3166

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot October 7, 2022 at 8:53 AM

Build couchbase-server-7.2.0-5000 contains eventing commit 9b2d2b7 with commit message:
: Check memory limit on config endpoint

Sujay Gad July 5, 2022 at 7:09 AM

Verified the fix on 7.1.2-3349.

CB robot June 30, 2022 at 4:30 AM

Build couchbase-server-7.1.2-3344 contains eventing commit 9b2d2b7 with commit message:
: Check memory limit on config endpoint

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Operating System

Centos 64-bit

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 27, 2022 at 4:40 AM
Updated October 7, 2022 at 8:53 AM
Resolved June 30, 2022 at 4:05 AM
Instabug