Skip to content

Connection issues cannot be distinguished from document missing #133

Closed
@tperamaki

Description

@tperamaki

In ArangoCollection.java both the documentExists(key) or the getDocument(key, type) consume the errors, which makes it impossible to know if the document actually did not exist, or if there was a connection issue and we should try again later when the connectivity has been restored.

For example arangoDB.db("database").collection("collection").documentExists("document") returns true if the document exists, but false for everything else, which includes document does not exist, database does not exist, collection does not exist, and any connection issues.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions