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/09/23 03:24:43 UTC
[GitHub] [pulsar] lordcheng10 opened a new pull request, #17809: [fix][broker]Reduce the frequency of calls to the LockManager#listLocks method.
lordcheng10 opened a new pull request, #17809:
URL: https://github.com/apache/pulsar/pull/17809
### Motivation
In the cleanupDeadBrokersData method, the ModularLoadManagerImpl#getAvailableBrokers method will be called every time, in which LockManager#listLocks will be called.
However, for non-leader nodes, it can return directly without executing the listLocks method.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc-required`
(Your PR needs to update docs and you will update later)
- [x] `doc-not-needed`
(Please explain why)
- [ ] `doc`
(Your PR contains doc changes)
- [ ] `doc-complete`
(Docs have been already added)
### Matching PR in forked repository
PR in forked repository: <!-- ENTER URL HERE
After opening this PR, the build in apache/pulsar will fail and instructions will
be provided for opening a PR in the PR author's forked repository.
apache/pulsar pull requests should be first tested in your own fork since the
apache/pulsar CI based on GitHub Actions has constrained resources and quota.
GitHub Actions provides separate quota for pull requests that are executed in
a forked repository.
The tests will be run in the forked repository until all PR review comments have
been handled, the tests pass and the PR is approved by a reviewer.
-->
--
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
[GitHub] [pulsar] lordcheng10 closed pull request #17809: [improve][broker]Reduce the frequency of calls to the LockManager#listLocks method.
Posted by GitBox <gi...@apache.org>.
lordcheng10 closed pull request #17809: [improve][broker]Reduce the frequency of calls to the LockManager#listLocks method.
URL: https://github.com/apache/pulsar/pull/17809
--
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