SgwIntStat.SetIfMax incorrectly sums old and new values

Description

SetIfMax logic is incorrect and results in stat values being _much _higher than expected for high_seq_feed and cbl_replication_pull.max_pending

Same thing on SgwFloatStat.SetIfMax - although the method is unused so doesn't impact any stats.

Activity

Show:

CB robot May 20, 2021 at 4:31 PM

Build sync_gateway-3.0.0-199 contains sync_gateway commit 0e25fd6 with commit message:
https://couchbasecloud.atlassian.net/browse/CBG-1438#icft=CBG-1438: SetIfMax fix (#5003)

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 6, 2021 at 11:54 AM
Updated August 31, 2024 at 10:59 AM
Resolved May 20, 2021 at 4:06 PM
Instabug