Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin CLI: Option '-s` is not working #696

Closed
wajda opened this issue Jun 4, 2020 · 1 comment
Closed

Admin CLI: Option '-s` is not working #696

wajda opened this issue Jun 4, 2020 · 1 comment
Assignees
Milestone

Comments

@wajda
Copy link
Contributor

wajda commented Jun 4, 2020

It looks like a bug in ArangoDB Java driver - the first call to db.exists() always returns false for the first call.

// pre-condition - the database exists
db.exists().get() // returns false
db.exists().get() // returns true
@wajda wajda added this to the 0.5.2 milestone Jun 4, 2020
@wajda wajda self-assigned this Jun 4, 2020
@wajda
Copy link
Contributor Author

wajda commented Jun 4, 2020

Seems to be somehow related to the arangodb/arangodb-java-driver-async#21
A workaround is the same - ping the DB for the first time (any method) on the app startup time and ignore the result. Subsequent requests will work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant