AbsaOSS / AbsaOSS/spline

Useless AQL error logs

Đang mở
#1,302 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Tech debt
Ngôn ngữ chính
Scala
Star
667
Fork
155
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.