You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/09/27 18:24:16 UTC

[GitHub] [ignite-3] Berkof commented on a diff in pull request #1123: IGNITE-17768 Add descriptions for AI3 exceptions

Berkof commented on code in PR #1123:
URL: https://github.com/apache/ignite-3/pull/1123#discussion_r981576694


##########
docs/_docs/handling-exceptions.adoc:
##########
@@ -17,8 +17,119 @@
 
 This section outlines basic exceptions that can be generated by Ignite 3 and provides basic instructions for handling them.
 
-[cols="20%,40%,40%", width="100%"]
-|=======================================================================
-|Exception	|Description	|Action
+== Finding Stack Trace Information
 
-|`exception`|What causes exception|Recommended actions
\ No newline at end of file
+When the exception happens, Apache Ignite 3 provides a UUID of the specific exception, but not a full stack trace. For a full stack trace, check cluster logs.
+
+== Common Exceptions
+
+[cols="20%,80%", width="100%"]
+|===
+|Exception	|Description
+|`IGN-CMN-1`|Unexpected error occurred.
+|`IGN-CMN-2`|Operation was stopped because node is stopping.
+|`IGN-CMN-3`|Required component was not started.
+|===
+
+== Table Exceptions
+
+[cols="20%,80%", width="100%"]
+|===
+|Exception	|Description
+|`IGN-TBL-1`|Table already exists.
+|`IGN-TBL-2`|Table not found.
+|`IGN-TBL-3`|Column already exists.
+|`IGN-TBL-4`|Column not found.
+|===
+
+== Client Exceptions
+
+[cols="20%,80%", width="100%"]
+|===
+|Exception	|Description
+|`IGN-CLIENT-1`|Connection to client failed.
+|`IGN-CLIENT-2`|An issue happened with connection protocol.
+|`IGN-CLIENT-3`|Incompatible protocol version.
+|`IGN-CLIENT-4`|Table not found by ID.
+|`IGN-CLIENT-5`|An error with authentication parameters.
+|`IGN-CLIENT-6`|An error occurred during server authorization.
+|`IGN-CLIENT-7`|An error occurred while reading client configuration.
+|===
+
+== SQL  Exceptions
+
+[cols="20%,80%", width="100%"]
+|===
+|Exception	|Description
+|`IGN-SQL-1`|Ignite tried to read a page after last one.
+|`IGN-SQL-2`|The specified either does not exist or is closed.
+|`IGN-SQL-3`|SQL query is incorrect.
+|`IGN-SQL-4`|Query returned no result set.
+|`IGN-SQL-5`|Table is missing primary key.
+|`IGN-SQL-6`|Multiple primary keys found in a table.
+|`IGN-SQL-7`|Failed to find schema.
+|`IGN-SQL-8`|Specified storage engine is not supperted.

Review Comment:
   ```suggestion
   |`IGN-SQL-8`|Specified storage engine is not supported.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org