[Branch-2.7] Fixed deadlock on metadata cache missing while doing che…#12484
Merged
Jason918 merged 1 commit intoapache:branch-2.7from Jul 28, 2022
Merged
Conversation
Contributor
|
/pulsarbot run-failure-checks |
codelipenghui
approved these changes
Oct 28, 2021
Contributor
|
/pulsarbot run-failure-checks |
2 similar comments
Contributor
|
/pulsarbot run-failure-checks |
Contributor
|
/pulsarbot run-failure-checks |
d3c8ddd to
531a596
Compare
531a596 to
f53ddc1
Compare
Member
|
I rebased the changes. Let's see what the test failures are. |
Member
|
There are too many failures that I'm not confident to pick this in 2.7.5 release. |
|
The pr had no activity for 30 days, mark with Stale label. |
Jason918
approved these changes
Jul 28, 2022
Jason918
pushed a commit
to Jason918/pulsar
that referenced
this pull request
Jul 30, 2022
…oing checkReplication (apache#12484)" This reverts commit 32fe228.
2 tasks
Jason918
added a commit
that referenced
this pull request
Jul 31, 2022
* Revert "[fix][proxy] Fix client service url (#16834)" This reverts commit 10b4e99. * Revert "[Build] Use grpc-bom to align grpc library versions (#15234)" This reverts commit 99c93d2. * Revert "upgrade aircompressor to 0.20 (#11790)" This reverts commit 5ad16b6. * Revert "[Branch-2.7] Fixed deadlock on metadata cache missing while doing checkReplication (#12484)" This reverts commit 32fe228. * Revert changes of PersistentTopic#getMessageTTL in #12339. Co-authored-by: JiangHaiting <janghaiting@apache.org>
Jason918
pushed a commit
to Jason918/pulsar
that referenced
this pull request
Jul 31, 2022
…ckReplication (apache#12484) (cherry picked from commit 32fe228)
2 tasks
Contributor
|
This PR breaks branch 2.7 and reverted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
After the changes in #12340, there were still a couple of places making blocking calls. These calls occupy all the ordered scheduler threads preventing the callbacks to complete, until the 30 seconds timeout expire.
Instead converted the code to use
getAsync().