You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/19 12:24:55 UTC

[GitHub] [pulsar] asafm commented on pull request #16679: [fix] [txn] [PIP-160] Avoid timing task burdens the ledger thread and leads to an avalanche

asafm commented on PR #16679:
URL: https://github.com/apache/pulsar/pull/16679#issuecomment-1188987782

   I can't understand this PR.
   You have an executor service adding a task to the queue every interval.
   You said if the tasks are executed longer that interval, the queue starts building up until it explodes?
   
   I'm not sure I understand the nature of the context in this PR - would love a good brief on that - but could it be that `executeWithFixedDelay` will solve it, since it never starts the next task until the previous one is finished?
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org