Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27967

Possible contention on Kafka getAppender

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF36, 10.10-HF14, 11.1
    • Component/s: Streams
    • Environment:
      Kafka an metrics
    • Release Notes Summary:
      A possible contention on getAppender method with Kafka is fixed.
    • Backlog priority:
      800
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.17
    • Story Points:
      2

      Description

      2 methods are synchronized on KafkaLogManager:

      • getAppender
      • getLagPerPartition

      The first one takes time only at init but the second can be a long blocking operation depending on the number of topic/partitions.

      The getLagPerPartition is used by the monitoring so it impacts the producer's throughput.

      Fix this by using different synchronization object.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.