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

Roman Puchkovskiy updated IGNITE-22825:
---------------------------------------
    Description: 
GENERIC_ERR should be removed and its usages replaced with Common.INTERNAL_ERR 
(as Storage.GENERIC_ERR does not give the user more valuable information on the 
possible resolution compared to INTERNAL_ERR).

DIRECTORY_CREATION_ERR should be removed as it's not used.

Also, we need to make the following error codes internal ones (by making sure 
they are not seen by the user):
 * ALREADY_CLOSED_ERR
 * STORAGE_REBALANCE_ERR
 * ALREADY_DESTROYED_ERR

As of the current state, only INDEX_NOT_BUILT_ERR should stay (and the code 
that's going to be added in IGNITE-22824).

  was:
GENERIC_ERR should be removed and its usages replaced with Common.INTERNAL_ERR 
(as Storage.GENERIC_ERR does not allow the user more valuable information on 
the possible resolution compared to INTERNAL_ERR).

DIRECTORY_CREATION_ERR should be removed as it's not used.

Also, we need to make the following error codes internal ones (by making sure 
they are not seen by the user):
 * ALREADY_CLOSED_ERR
 * STORAGE_REBALANCE_ERR
 * ALREADY_DESTROYED_ERR

As of the current state, only INDEX_NOT_BUILT_ERR should stay (and the code 
that's going to be added in IGNITE-22824).


> Remove internal error codes from ErrorGroups.Storage
> ----------------------------------------------------
>
>                 Key: IGNITE-22825
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22825
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: error-codes, ignite-3
>
> GENERIC_ERR should be removed and its usages replaced with 
> Common.INTERNAL_ERR (as Storage.GENERIC_ERR does not give the user more 
> valuable information on the possible resolution compared to INTERNAL_ERR).
> DIRECTORY_CREATION_ERR should be removed as it's not used.
> Also, we need to make the following error codes internal ones (by making sure 
> they are not seen by the user):
>  * ALREADY_CLOSED_ERR
>  * STORAGE_REBALANCE_ERR
>  * ALREADY_DESTROYED_ERR
> As of the current state, only INDEX_NOT_BUILT_ERR should stay (and the code 
> that's going to be added in IGNITE-22824).



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

Reply via email to