Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23284

[CX] DcpBucketState.toString() needs to be more compact

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • CBAS DP2
    • CBAS DP2
    • analytics
    • None
    • Untriaged
    • Unknown
    • CX Sprint 45

    Description

      DcpBucketState.toString() is logged every time DCP stream is resumed at WARNING level. This outputs 1024 lines of status e.g.

      2017-03-11T18:37:45.755Z WARN CBAS.adapter.CouchbaseConnectorFactory [HttpExecutor(port:8095)-2] Resuming DCP streaming from Number of Partitions = 1024
      vbid = 0, uuid = 0, seq = 0
      vbid = 1, uuid = 0, seq = 0
      ...
      vbid = 1022, uuid = 0, seq = 0
      vbid = 1023, uuid = 0, seq = 0

      The toString() ends with a newline, which also should be removed.

      Attachments

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

        Activity

          People

            Abdullah.Alamoudi Abdullah Alamoudi [X] (Inactive)
            michael.blow Michael Blow
            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