Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2452

Wrong condition for re-scheduling in ReportPublisher

    XMLWordPrintableJSON

Details

    Description

      It seems the condition for scheduling next run of ReportPublisher is wrong:

      Given the condition above, the task may be scheduled again if the executor is shutdown, but the state machine is not set to shutdown (or vice versa). I think the condition should have an &&, not ||. (Currently it is unlikely to happen, since context state is set to shutdown before the report executor.)

      nanda, can you please confirm if this is a typo or intentional?

      Attachments

        Issue Links

          Activity

            People

              Sandeep Nemuri Sandeep Nemuri
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m