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 2018/06/13 16:01:20 UTC
[GitHub] ivankelly opened a new pull request #1961: Remove potential
deadlock in offloading
ivankelly opened a new pull request #1961: Remove potential deadlock in offloading
URL: https://github.com/apache/incubator-pulsar/pull/1961
Managed ledger has a lock, ledgersListMutex, to control write access
to the list of ledgers that form the managed ledger.
Normally this lock is locked in a non-blocking way (if it fails it
backs off and tries again). Offloading added some operations that
locked in a blocking manner, which can cause some deadlocking, if
operations are running on the orderedexecutor.
This patch changes the offloading operations to only use tryLock on
this lock.
Master Issue: #1511
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services