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 18:45:13 UTC

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

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

   > You said if the tasks are executed longer that interval, the queue starts building up until it explodes?
   
   Yes, I added more descriptions in `Motivation`.
   
   > 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 change can only avoid the task accumulation in TxnLogBufferedWriter caused by too many scheduled tasks but cannot improve the write performance of Managed Ledger. 
   
   I added more descriptions in `Motivation.`
   
   Thanks.
   
   
   
   


-- 
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