[jira] [Updated] (IGNITE-21644) Deadlock prevention makes Java Async APIs (KV/RV) hard to use

2024-03-12 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-21644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-21644:
-
Labels: ignite-3  (was: )

> Deadlock prevention makes Java Async APIs (KV/RV) hard to use
> -
>
> Key: IGNITE-21644
> URL: https://issues.apache.org/jira/browse/IGNITE-21644
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Major
>  Labels: ignite-3
>
> # Create table T1
>  # Get KeyValue view or Record View
>  # Make a batch of 100 rows and call CompletableFuture f = 
> view.putAllAsync(null , batch) or view.
> upsertAllAsync(null, batch)
>  # Make another batch and compose it with the first CompletableFuture with: 
> f.thenCompose(r -> view.putAllAsync(null, newBatch));
> Expected behavior: batch completed sucessfully.
> Actual behavior: Failed to acquire a lock due to a possible deadlock



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-21644) Deadlock prevention makes Java Async APIs (KV/RV) hard to use

2024-03-08 Thread Alexander Lapin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-21644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Lapin updated IGNITE-21644:
-
Priority: Major  (was: Critical)

> Deadlock prevention makes Java Async APIs (KV/RV) hard to use
> -
>
> Key: IGNITE-21644
> URL: https://issues.apache.org/jira/browse/IGNITE-21644
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Major
>
> # Create table T1
>  # Get KeyValue view or Record View
>  # Make a batch of 100 rows and call CompletableFuture f = 
> view.putAllAsync(null , batch) or view.
> upsertAllAsync(null, batch)
>  # Make another batch and compose it with the first CompletableFuture with: 
> f.thenCompose(r -> view.putAllAsync(null, newBatch));
> Expected behavior: batch completed sucessfully.
> Actual behavior: Failed to acquire a lock due to a possible deadlock



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-21644) Deadlock prevention makes Java Async APIs (KV/RV) hard to use

2024-03-01 Thread Alexander Belyak (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-21644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Belyak updated IGNITE-21644:
--
Description: 
# Create table T1
 # Get KeyValue view or Record View
 # Make a batch of 100 rows and call CompletableFuture f = 
view.putAllAsync(null , batch) or view.
upsertAllAsync(null, batch)
 # Make another batch and compose it with the first CompletableFuture with: 
f.thenCompose(r -> view.putAllAsync(null, newBatch));

Expected behavior: batch completed sucessfully.

Actual behavior: Failed to acquire a lock due to a possible deadlock

  was:
# Create table T1
 # Get KeyValue view or Record View
 # Make a batch of 100 rows and call CompletableFuture f = 
view.putAllAsync(null , batch) or view.
upsertAllAsync(null, batch)
 # Make another


> Deadlock prevention makes Java Async APIs (KV/RV) hard to use
> -
>
> Key: IGNITE-21644
> URL: https://issues.apache.org/jira/browse/IGNITE-21644
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Critical
>
> # Create table T1
>  # Get KeyValue view or Record View
>  # Make a batch of 100 rows and call CompletableFuture f = 
> view.putAllAsync(null , batch) or view.
> upsertAllAsync(null, batch)
>  # Make another batch and compose it with the first CompletableFuture with: 
> f.thenCompose(r -> view.putAllAsync(null, newBatch));
> Expected behavior: batch completed sucessfully.
> Actual behavior: Failed to acquire a lock due to a possible deadlock



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-21644) Deadlock prevention makes Java Async APIs (KV/RV) hard to use

2024-03-01 Thread Alexander Belyak (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-21644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Belyak updated IGNITE-21644:
--
Summary: Deadlock prevention makes Java Async APIs (KV/RV) hard to use  
(was: Deadlock prevention makes Java Async APIs (KV/RV) barely usable)

> Deadlock prevention makes Java Async APIs (KV/RV) hard to use
> -
>
> Key: IGNITE-21644
> URL: https://issues.apache.org/jira/browse/IGNITE-21644
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Critical
>
> # Create table T1
>  # Get KeyValue view or Record View
>  # Make a batch of 100 rows and call CompletableFuture f = 
> view.putAllAsync(null , batch) or view.
> upsertAllAsync(null, batch)
>  # Make another



--
This message was sent by Atlassian Jira
(v8.20.10#820010)