[ 
https://issues.apache.org/jira/browse/IGNITE-21434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815661#comment-17815661
 ] 

Alexander Lapin edited comment on IGNITE-21434 at 2/8/24 12:21 PM:
-------------------------------------------------------------------

We've dissucssed previously the desired behaviour.
 - If there's no theoretical majority, meaning that there are no corresponding 
nodes in logical topology, we should through an immediate exception (or almost 
immediate because of performance optimizations). Something like not enough 
nodes in topology.

 - Otherwise, we should try until transaction timeout. Please pay attention 
that currently we don't have transaction timeouts.

Currently we have following:
 * We wait for primaryReplica to appear (at most 10 seconds for now) + 
replication timeout (also 10 seconds by default) + (I don't know whether SQL 
adds some timeouts on mapping operations).

 

We may revise that of course.


was (Author: alapin):
We've dissucssed previously the desired behaviour.

- If there's no theoretical majority, meaning that there are no corresponding 
nodes in logical topology, we should through an immediate exception (or almost 
immediate because of performance optimizations). Something like not enough 
nodes in topology.

- Otherwise, we should try until transaction timeout. Please pay attention that 
currently we don't have transaction timeouts.

Currently we have following:

We wait for primaryReplica to appear (at most 10 seconds for now) + replication 
timeout (also 10 seconds by default) + (I don't know whether SQL adds some 
timeouts on mapping operations).

 

We may revise that of course.

> Fail user write requests for non-available partitions
> -----------------------------------------------------
>
>                 Key: IGNITE-21434
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21434
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Bessonov
>            Priority: Major
>              Labels: ignite-3
>
> Currently, {{INSERT INTO test VALUES(%d, %d);}} just hands indefinitely, 
> which is not what you would expect. We should either fail the request 
> immediately if there's no majority, or return a replication timeout 
> exception, for example.



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

Reply via email to