Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
3.0.2-incubating
-
None
-
None
Description
Currently gremlin-server throws a 597 - SCRIPT EVALUATION ERROR on commit failures (for concurrency reasons for example). This isn't really the correct error to return in those cases. Drivers would expect a 500 - SERVER ERROR instead for their retry-failure strategies.
Of course this could take on another form and somehow allow drivers to differentiate commit failures from other exceptions. So in any event this is probably going to depend on https://issues.apache.org/jira/browse/TINKERPOP3-1004 yet also require a change to the server code.
Attachments
Issue Links
- depends upon
-
TINKERPOP-1004 Make Transaction.commit() failures consistent across implementations.
- Closed