Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1438

SgwIntStat.SetIfMax incorrectly sums old and new values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 74
    • 2

    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.

      Attachments

        Issue Links

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

          Activity

            Build sync_gateway-3.0.0-199 contains sync_gateway commit 0e25fd6 with commit message:
            CBG-1438: SetIfMax fix (#5003)

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-199 contains sync_gateway commit 0e25fd6 with commit message: CBG-1438 : SetIfMax fix (#5003)

            People

              jacques.rascagneres Jacques Rascagneres
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty