Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue 818, asynchronous deadlocks [API-2023] #819

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

zpqrtbnk
Copy link
Contributor

As reported on #818 and the corresponding JIRA ticket, client can hang when mixing synchronous (task.GetAwaiter().Result) and synchronous (await task) patterns. This PR addresses one situation where a TaskCompletionSource was aggressively left synchronous where we should force it to be asynchronous.

@zpqrtbnk zpqrtbnk requested a review from emreyigit April 13, 2023 07:55
@netlify
Copy link

netlify bot commented Apr 13, 2023

Deploy Preview for silly-valkyrie-e996d9 failed.

Name Link
🔨 Latest commit d04a092
🔍 Latest deploy log https://app.netlify.com/sites/silly-valkyrie-e996d9/deploys/6437b55fedfeaf0008d8d53a

@zpqrtbnk zpqrtbnk added this to the 5.2.2 milestone Apr 13, 2023
@emreyigit emreyigit linked an issue Apr 13, 2023 that may be closed by this pull request
@zpqrtbnk zpqrtbnk merged commit afb045c into hazelcast:master Apr 17, 2023
@zpqrtbnk zpqrtbnk deleted the issue-818 branch April 17, 2023 17:08
zpqrtbnk added a commit that referenced this pull request Apr 18, 2023
* Issue 818, asynchronous deadlocks

* Issue 818, fix tests + fix async
zpqrtbnk added a commit that referenced this pull request Jun 5, 2023
* Version 5.2.1

* Merge release fixes from master

* Documentation latest version 5.2.1

* Tag v5.2.1

* Implement GetDistributedObjects [API-1916] (#805)

* Implement GetDistributedObjects

* GetDistributedObjects returns IReadOnlyCollection

* Version 5.2.2

* Fix the DocFX documentation

* Update public API

* Documentation updates

* Issue 818, asynchronous deadlocks [API-2023] (#819)

* Issue 818, asynchronous deadlocks

* Issue 818, fix tests + fix async

* Doc/migration guide (#822)

* Fix the DocFX documentation

* temp

* doc wip

* doc wip

* Documentation updates

* Fix dependency injection (issue #823) [API-2025] (#824)

* Fix dependency injection (issue #823)

* Fix tests

* Fix tests compatibility issue

* Fix tests compatibility issue

* Fix tests compatibility issue

* Fix tests compatibility issue

* Viridian cloud tests added.

(cherry picked from commit a03eb33)

* Revert bogus changes

* Provide null logger factory if none configured

* Fix viridian cloud tests

* Fix API definition

* Fix API definition

* Fixing cloud tests

* Fixing cloud tests

* Fixing cloud tests

* Fixing cloud tests

* Fixing cloud tests

* Fixing cloud tests

* Fixing member connections for cloud

* Documentation latest version 5.2.2

* Fixing cloud tests

* Tag v5.2.2

* Fix merge

---------

Co-authored-by: GitHub Actions (Trigger Release) <github-actions@hazelcast.com>
Co-authored-by: emreyigit <emre.yigit@hazelcast.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client becomes stale when forcing to use async APIs sync. [API-2023]
2 participants