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

            ben.brooks Ben Brooks created issue -
            ben.brooks Ben Brooks made changes -
            Field Original Value New Value
            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 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.
            adamf Adam Fraser made changes -
            Fix Version/s 2.8.3 [ 17428 ]
            daniel.petersen Daniel Petersen made changes -
            Link This issue relates to CBG-1380 [ CBG-1380 ]
            adamf Adam Fraser made changes -
            Fix Version/s 2.8.3 [ 17428 ]
            adamf Adam Fraser made changes -
            Assignee The One [ the one ] Jacques Rascagneres [ jacques.rascagneres ]
            adamf Adam Fraser made changes -
            Sprint CBG Sprint 74 [ 1604 ]
            adamf Adam Fraser made changes -
            Rank Ranked lower
            ben.brooks Ben Brooks made changes -
            Link This issue is cloned by CBG-1451 [ CBG-1451 ]
            ben.brooks Ben Brooks made changes -
            Link This issue relates to CBG-1380 [ CBG-1380 ]
            jacques.rascagneres Jacques Rascagneres made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Automated transition triggered when Jacques Rascagneres created pull request #5003 in GitHub -
            Status In Progress [ 3 ] In Review [ 10107 ]
            jacques.rascagneres Jacques Rascagneres made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10107 ] Resolved [ 5 ]
            ben.brooks Ben Brooks made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            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