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

Consolidate sgr and cbl replication stats

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.8.0
    • None
    • SyncGateway
    • Security Level: Public
    • None

    Description

      Existing CBL replication stats assume that all replications with the local SG as the passive peer are CBL replications. In 2.8.0, these may also be sg-replicate2 replications running on remote nodes.

      In addition, there is duplicate counting happening for CBL replication stats and sg-replicate2 stats. Since replication is symmetrical, the same event needs to be reported differently based on the replication type. e.g. handleRev as the passive peer represents a document being pushed to the node, while handleRev as the active peer represents a document being pulled by the node.

      We want to minimize performance overhead associated with stat collection, so need to review the approach taken to ideally come up with a generic collection approach that can be reused for both CBL replication stats, sg-replicate passive stats, and sg-replicate active stats.

      Attachments

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

        Activity

          People

            adamf Adam Fraser
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty