Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-966

task_schedule_attempt_locked stats are not exported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Scheduler
    • None

    Description

      This @Timed annotation in TaskScheduler is a no-op since it is on a private method.

      This seems to be the only afflicted timed annotation:

      $ grep -R -A1 '@Timed' src/main/java/ | grep -B1 private
      src/main/java//org/apache/aurora/scheduler/async/TaskScheduler.java:    @Timed("task_schedule_attempt_locked")
      src/main/java//org/apache/aurora/scheduler/async/TaskScheduler.java-    private boolean scheduleTask(MutableStoreProvider store, String taskId) {
      

      Attachments

        Activity

          People

            maximk Maxim Khutornenko
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: