sumitagrawl commented on PR #9185:
URL: https://github.com/apache/ozone/pull/9185#issuecomment-3551352306

   @xichen01 Yes, its not working as expected. 
https://issues.apache.org/jira/browse/HDDS-6696 is created for same earlier in 
backlog as can see this history.
   
   Fixing this bug will resolve the problem. And fix will be just move the 
future.join() at end of run() method,
   ```
   try {
           future.join();
         } catch (RuntimeException e) {
           LOG.error("Background service execution failed.", e);
         } finally {
           execTaskCompletion();
         }
   ```
   
   This will resolve the related bug and problem of no-wait for next schedule. 
IMO, we need not support 2 different mechanism of FIXED_RATE, And Fixed_Delay, 
can follow only Fixed_Delay with the fix.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to