Uploaded image for project: 'Java DCP Client'
  1. Java DCP Client
  2. JDCP-134

Cached DCP request counter should be volatile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.25.0
    • None
    • None
    • 1

    Description

      Although DcpChannelMetrics.prevDcpRequestCounter and prevDcpRequestOpcode are only accessed by one Netty event loop thread at a time, the thread reporting the metrics may change if the underlying Netty channel changes (due to reconnect, for example).

      Attachments

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty