Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11293

JMX pending counter should return 0 in Data Center edition

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Compute Engine
    • Labels:
    • Edition:
      Data Center
    • Production Notes:
      It won't be possible to monitor the size of the pending queue on SonarCloud and Next through JMX anymore as the value will always be 0 from this ticket on

      Description

      The Compute Engine exposes several metrics to track CE workers execution of the current CE node. Among those metrics is the count of pending tasks.

      In DataCenter edition, where there is multiple CE nodes, the value returned is computed from the CE_QUEUE table content and does not reflect the number of pending jobs of the current node but of all the nodes.

      This is incorrect and on top of this, requesting the value of this metric on all CE node generates a large number of SQL requests on CE_QUEUE table and this information is , and should be, monitored through other means anyway.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: