Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/asciidoc/reference/grpc-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ but its text is concealed in production mode, because it may come from a library
statement stopped on request is `CANCELLED`, as on the data-plane RPCs (see <<grpc-cancellation,Cancellation>>).
Only an unexpected server fault is `INTERNAL`, and in production mode its description is concealed.

_(Since v26.12.1)_ `AlignDatabase` answers `INVALID_ARGUMENT` with the refusal's sentence when the database refuses
`ALIGN DATABASE` (outside an HA cluster), as HTTP answers 400 and `ExecuteCommand` answers `INVALID_ARGUMENT` for the
same statement. Before, it answered `INTERNAL`.

On the data-plane RPCs, the `arcadedb-exception-class` trailer names the exception that decided the status rather
than the one wrapped around it, so the Java client rebuilds the engine's own type: a `SchemaException` for a missing
type (not the `RecordNotFoundException` that `NOT_FOUND` alone reads as), or a `DuplicatedKeyException` carrying its
Expand Down
Loading