From 7eed43aa10993b84b9449692783d38c5d1593c03 Mon Sep 17 00:00:00 2001 From: Natalia Ivakina Date: Wed, 4 Oct 2023 15:55:29 +0200 Subject: [PATCH 1/3] Add missing error codes and their descriptions --- modules/ROOT/pages/errors/all-errors.adoc | 38 +++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/errors/all-errors.adoc b/modules/ROOT/pages/errors/all-errors.adoc index 765a0659..5e6b2b0d 100644 --- a/modules/ROOT/pages/errors/all-errors.adoc +++ b/modules/ROOT/pages/errors/all-errors.adoc @@ -4,7 +4,7 @@ [[neo4j-errors]] = List of all error codes -This page contains lists of all neo4j errors, grouped by class. +This page contains lists of all Neo4j errors, grouped by class. == Client errors @@ -31,6 +31,11 @@ This is a complete list of all client error status codes Neo4j may return, and w | Neo.ClientError.Database.ExistingDatabaseFound | The request referred to a database that already exists. +| Neo.ClientError.Database.IllegalAliasChain +| +An illegal chain of aliases has been detected. +This request cannot be executed. + | Neo.ClientError.Fabric.AccessMode | The request could not be completed due to an access mode violation @@ -84,6 +89,12 @@ You may want to retry with a longer timeout. | Neo.ClientError.Request.InvalidUsage | The client made a request but did not consume outgoing buffers in a timely fashion. +| Neo.ClientError.Routing.DbmsInPanic +| Server is in panic. + +| Neo.ClientError.Routing.RoutingFailed +| Failed to route. + | Neo.ClientError.Schema.ConstraintAlreadyExists | Unable to perform this operation because it will clash with a pre-existing constraint. @@ -183,6 +194,9 @@ Please reconnect. | Neo.ClientError.Statement.PropertyNotFound | The statement refers to a non-existent property. +| Neo.ClientError.Statement.RemoteExecutionClientError +| The database was unable to execute a remote part of the statement due to a client error. + | Neo.ClientError.Statement.RuntimeUnsupportedError | This query is not supported by the chosen runtime. @@ -244,6 +258,11 @@ Because failure takes precedence, the transaction was rolled back. The transaction has not completed within the specified timeout (`dbms.transaction.timeout`). You may want to retry with a longer timeout. +| Neo.ClientError.Transaction.TransactionTimedOutClientConfiguration +| +The transaction has not completed within the timeout specified at its start by the client. +You may want to retry with a longer timeout. + | Neo.ClientError.Transaction.TransactionValidationFailed | Transaction changes did not pass validation checks. @@ -260,6 +279,9 @@ This is a complete list of all transient error status codes Neo4j may return, an | Status Code | Description +| Neo.TransientError.ChangeDataCapture.FutureIdentifier +| Change identifier points to a future transaction that has not yet happened on this database instance. + | Neo.TransientError.Cluster.ReplicationFailure | Replication failure. @@ -311,6 +333,9 @@ You can retry at a later time, or consider increasing max thread pool size for b | Neo.TransientError.Statement.ExecutionTimeout | The database was unable to execute the statement in a timely fashion. +| Neo.TransientError.Statement.RemoteExecutionTransientError +| The database was unable to execute a remote part of the statement due to a transient failure. + | Neo.TransientError.Transaction.BookmarkTimeout | Bookmark wait timed out. @@ -327,6 +352,9 @@ Retrying this transaction will most likely be successful. | Neo.TransientError.Transaction.Interrupted | Interrupted while waiting. +| Neo.TransientError.Transaction.LeaderSwitch +| The request could not be completed due to cluster leader switch. + | Neo.TransientError.Transaction.LeaseExpired | The lease under which this transaction was started is no longer valid. @@ -343,6 +371,9 @@ You can retry at a later time or consider increasing allowed maximum of concurre Transaction has seen state which has been invalidated by applied updates while the transaction was active. Transaction may succeed if retried. +| Neo.TransientError.Transaction.QueryExecutionFailedOnTransaction +| The transaction was marked as failed because a query failed. + |=== == Database error @@ -434,7 +465,10 @@ Please restore from backup. | The database was unable to roll back the transaction. | Neo.DatabaseError.Transaction.TransactionStartFailed -| The database was unable to start the transaction. +| The database was unable to start the transaction. + +| Neo.DatabaseError.Transaction.TransactionTerminationFailed +| The database was unable to terminate the transaction. |=== From 8e10cdf4fa750c2aca24cce46bc59562b4252e1e Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Thu, 5 Oct 2023 09:55:41 +0200 Subject: [PATCH 2/3] Fix Neo.TransientError.General.DatabaseUnavailable --- modules/ROOT/pages/errors/all-errors.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/errors/all-errors.adoc b/modules/ROOT/pages/errors/all-errors.adoc index 5e6b2b0d..bcd32727 100644 --- a/modules/ROOT/pages/errors/all-errors.adoc +++ b/modules/ROOT/pages/errors/all-errors.adoc @@ -285,7 +285,7 @@ This is a complete list of all transient error status codes Neo4j may return, an | Neo.TransientError.Cluster.ReplicationFailure | Replication failure. -| Neo.TransientError.Database.DatabaseUnavailable +| Neo.TransientError.General.DatabaseUnavailable | The database is not currently available to serve your request, refer to the database logs for more details. Retrying your request at a later time may succeed. From d40821467dcf9fe9cd1459b3c75244a9c6b76a47 Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Thu, 5 Oct 2023 10:09:55 +0200 Subject: [PATCH 3/3] Remove mention about CDC --- modules/ROOT/pages/errors/all-errors.adoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/ROOT/pages/errors/all-errors.adoc b/modules/ROOT/pages/errors/all-errors.adoc index bcd32727..fcff7e10 100644 --- a/modules/ROOT/pages/errors/all-errors.adoc +++ b/modules/ROOT/pages/errors/all-errors.adoc @@ -279,9 +279,6 @@ This is a complete list of all transient error status codes Neo4j may return, an | Status Code | Description -| Neo.TransientError.ChangeDataCapture.FutureIdentifier -| Change identifier points to a future transaction that has not yet happened on this database instance. - | Neo.TransientError.Cluster.ReplicationFailure | Replication failure.