spline icon indicating copy to clipboard operation
spline copied to clipboard

Useless AQL error logs

Open wajda opened this issue 1 year ago • 0 comments

AQL: syntax error, unexpected end of query string near '                ' at position 6:1 (while parsing)

Discussed in https://github.com/AbsaOSS/spline/discussions/1301

Originally posted by vishalag001 January 29, 2024 Hi @wajda,

I am getting the following AQL syntax error on the rollback code. Not sure how it is coming ? It is referring the same code as the develop branch. Ideally rollback should not happen on inserts, but somehow there is a error and the rollback script is getting triggered. The database is sharded across all collections. In the logs I only see this:

Service "/spline" encountered error 400 while handling POST vst://:::8529/_db/spline/spline/execution-events 
via ArangoError: AQL: syntax error, unexpected end of query string near '                ' at position 6:1 (while parsing)
    at ArangoStatement.execute (/arangodb/data/coordinator8529/data/js/server/modules/@arangodb/arango-statement.js:84:16)
    at ArangoDatabase._query (/arangodb/data/coordinator8529/data/js/server/modules/@arangodb/arango-database.js:102:45)
    at t.TxManagerImpl.rollback (/arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:205:4348)
    at t.SubscribableTxManagerDecorator.rollback (/arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:205:2584)
    at /arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:75:1197
    at t.withTimeTracking (/arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:218:422)
    at t.storeExecutionEvent (/arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:61:320)
    at Route._handler (/arangodb/data/coordinator8529/apps/_db/spline/spline/APP/index.js:1:4587)
    at next (/arangodb/data/coordinator8529/data/js/server/modules/@arangodb/foxx/router/tree.js:419:15)
    at next (/arangodb/data/coordinator8529/data/js/server/modules/@arangodb/foxx/router/tree.js:417:7)

Can you help resolve this issue ? Thanks in advance

wajda avatar Jan 30 '24 10:01 wajda