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

Alexander Lapin updated IGNITE-27314:
-------------------------------------
    Description: If partition majority is unavailable ignite throws 
SqlException: Replication is timed out  or similar transaction exception with 
TimeoutException in caused by. This is not user friendly, we may adjust the 
message in order to give a user the clue what's happening. Meaning that 
something like "Replication is timed out because the partition is unavailable" 
will do the trick. In addition to that we should probably throw dedicated 
exception in case of HA zone, since HA will automatically restore the 
availability if there's at least one replica left.  (was: If partition majority 
unavailable ignite throws SqlException: Replication is timed out  or similar 
Transaction exception with TimeoutException in caused by. This is not user 
friendly, we may adjust the message in order to give user the clue what's 
happening. In addition to that we should probably throw dedicated exception in 
case of HA zone, since HA will automatically restore the availability if 
there's at least one replica left.)

> Adjust exception to be thrown in case of partition majority unavailability
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-27314
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27314
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3
>
> If partition majority is unavailable ignite throws SqlException: Replication 
> is timed out  or similar transaction exception with TimeoutException in 
> caused by. This is not user friendly, we may adjust the message in order to 
> give a user the clue what's happening. Meaning that something like 
> "Replication is timed out because the partition is unavailable" will do the 
> trick. In addition to that we should probably throw dedicated exception in 
> case of HA zone, since HA will automatically restore the availability if 
> there's at least one replica left.



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

Reply via email to