AbsaOSS / AbsaOSS/spline

Useless AQL error logs

Aberta
#1,302 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug Tech debt
Linguagem predominante
Scala
Estrelas
667
Forks
155
Merge médio
3d 6h
PRs com merge (30d)
4

Descrição

```
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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.