-
Notifications
You must be signed in to change notification settings - Fork 819
SOLR-18174 AsyncTracker Semaphore permit leak fix #4236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
janhoy
wants to merge
28
commits into
apache:main
Choose a base branch
from
janhoy:SOLR-18174-hang-repro-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
360da99
Fix semaphore permit leaks in HttpJettySolrClient's AsyncTracker: pre…
janhoy ab9401a
Rewrite comments in test class
janhoy db3fa14
Review comment - make sure we can complete a failed request even if p…
janhoy cc6d345
Simpler initialization of MAX_OUTSTANDING_REQUESTS
janhoy 9074c67
Do not release permit when result == null
janhoy 5bbdf53
Fix review comment about test waiting 2000 ms
janhoy 6068e53
Simplify failure dispatch
janhoy 9f481ba
Correct some javadoc
janhoy 41b9ad3
Review feedback: Change sysprop name
janhoy 633d7d4
Review feedback: No quotes in changelog title
janhoy c8e01f8
Use only 1 node for test cluster configuration in AsyncTrackerSemapho…
janhoy d2d3d59
Factor out fakeServer logic into an inner class and make sure this se…
janhoy 3f7dcb9
Revert to using common executor for failure dispatch due to leak issu…
janhoy b7c6c1e
Avoid test hanging due to executor not able to terminate
janhoy a08833c
Review: Use SolrParams.of()
janhoy f0fdea8
Print debug log instead of silently ignoring Exceptions
janhoy e482cf2
Fix unstable test
janhoy 08e1a3d
Rename metric name from "solr.http.client.async_permits" to "solr.cli…
janhoy 1e33550
Merge branch 'main' into SOLR-18174-hang-repro-fix
janhoy 289f847
Fix precommit - log calls
janhoy 5a92f99
Precommit fix fully-qualified-class
janhoy 0f3f382
Reference guide additions for sysprop and metrics
janhoy 8c3b376
Review feedback - add warn log when completing request on IO thread
janhoy a543701
Move the documentation of max distributed requests sysprop from solrc…
janhoy 78b0d7a
Change log for FakeTcpServer from debug to warn to aid in debugging p…
janhoy 88e327b
Precommit - satisfy :solr:solr-ref-guide:checkSiteLinks
janhoy e23e2e4
Merge branch 'main' into SOLR-18174-hang-repro-fix
janhoy 0119635
Fix test race-condition bug by setting maxOutstandingRequests as inst…
janhoy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
changelog/unreleased/SOLR-18174-prevent-double-registration.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| title: Fix semaphore permit leaks in HttpJettySolrClient's AsyncTracker. Avoid IO-thread deadlock on connection failure retries. Add a new metric gauge solr.http.client.async_permits | ||
| type: fixed | ||
| authors: | ||
| - name: Jan Høydahl | ||
| url: https://home.apache.org/phonebook.html?uid=janhoy | ||
| links: | ||
| - name: SOLR-18174 | ||
| url: https://issues.apache.org/jira/browse/SOLR-18174 |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.