Change synchronized on FileSystemContext to avoid deadlock#16219
Merged
alluxio-bot merged 2 commits intoAlluxio:masterfrom Oct 9, 2022
Merged
Change synchronized on FileSystemContext to avoid deadlock#16219alluxio-bot merged 2 commits intoAlluxio:masterfrom
alluxio-bot merged 2 commits intoAlluxio:masterfrom
Conversation
dfb54db to
5e18049
Compare
jiacheliu3
reviewed
Sep 23, 2022
| public List<BlockWorkerInfo> getCachedWorkers() throws IOException { | ||
| synchronized (mWorkerInfoList) { | ||
| if (mWorkerInfoList.get() == null || mWorkerInfoList.get().isEmpty() | ||
| || mWorkerRefreshPolicy.attempt()) { |
Contributor
There was a problem hiding this comment.
do we need to worry about the thread safety of this mWorkerRefreshPolicy?
c40edf1 to
b01cbe4
Compare
Contributor
|
Automated checks report:
Some checks failed. Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks. |
Contributor
|
Automated checks report:
All checks passed! |
Contributor
|
alluxio-bot, merge this please |
jja725
pushed a commit
to jja725/alluxio
that referenced
this pull request
Jan 27, 2023
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: Alluxio#16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
bzheng888
pushed a commit
to bzheng888/alluxio
that referenced
this pull request
Mar 8, 2023
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: Alluxio#16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
Contributor
|
alluxio-bot, cherry-pick this to branch-2.8 please |
alluxio-bot
pushed a commit
that referenced
this pull request
Nov 27, 2024
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: #16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
Contributor
|
Auto cherry-pick to branch |
yuzhu
pushed a commit
to yuzhu/alluxio
that referenced
this pull request
Nov 27, 2024
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: Alluxio#16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
Xenorith
pushed a commit
to yuzhu/alluxio
that referenced
this pull request
Nov 27, 2024
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: Alluxio#16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
Xenorith
pushed a commit
to yuzhu/alluxio
that referenced
this pull request
Nov 27, 2024
### What changes are proposed in this pull request? Please outline the changes and how this PR fixes the issue. ### Why are the changes needed? Please clarify why the changes are needed. For instance, 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, describe the bug. ### Does this PR introduce any user facing changes? Please list the user-facing changes introduced by your change, including 1. change in user-facing APIs 2. addition or removal of property keys 3. webui pr-link: Alluxio#16219 change-id: cid-f6e6af4556026e122b2e672fad6ab87a0a9f507e
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.
What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,
Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including