AbsaOSS / AbsaOSS/spline

Useless AQL error logs

Abierto
#1,302 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug Tech debt
Lenguaje dominante
Scala
Estrellas
667
Forks
155
Merge medio
3 d 6 h
PR fusionados (30 d)
4

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.