THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
ID | IEP-70 | ||||||||
Author | |||||||||
Sponsor | |||||||||
Created |
| ||||||||
Status |
|
Table of Contents |
---|
// Define the problem to be solved.
Cache and Compute async operations invoke the future listeners on Ignite thread pools, such as Public pool and Striped pool:
Code Block | ||
---|---|---|
| ||
IgniteFuture fut = cache.putAsync(1, 1);
fut.listen(f -> {
// Executes on Striped pool and causes a deadlock
cache.replace(1, 2);
}); |
Users are supposed to be aware of this and handle it manually, however:
The problem is more pronounced in Ignite.NET:
// Provide the design of the solution.
...
// Links to various reference documents, if applicable.
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|