GithubHelp home page GithubHelp logo

Comments (2)

jsteemann avatar jsteemann commented on September 26, 2024 1

@maininformer : the --collection option is ignored when using --custom-query or --custom-query-file.
When using a custom query, all that matters to arangobench is the actual custom query. So not declaring all collections used in the query via the --collection option is not an error.

When using a non-existing collection in the custom query, the query will fail. The same is true for any other hard errors. arangobench will even print warnings about this, such as:

2024-03-14T08:26:23Z [6568] WARNING [fb835] {bench} single request for URL '/_api/cursor: got invalid response from server: HTTP 404: 'Not Found'
2024-03-14T08:26:23Z [6568] WARNING [6daf1] {bench} ...more warnings...
...
2024-03-14T08:26:23Z [6568] WARNING [a826b] {bench} 1000 arangobench request(s) failed!

In case of hard errors, the generated results JSON file will also contain these in the "failures" attribute.

Regarding the typo in your collection names inside the traversal (i.e. FOR vertex IN 1..9999 OUTBOUND 'foos/878' GRAPH loadtest_graph instead of FOR vertex IN 1..9999 OUTBOUND 'foo/878' GRAPH loadtest_graph):
This is not considered a hard error by ArangoDB, as during query parsing 'foos/878' is just a string literal.
You can even run this query in ArangoDB just fine (at least on single server), as there may be edges starting at foos/878 in any of the edge collections used in the graph.

from arangodb.

maininformer avatar maininformer commented on September 26, 2024

Thank you this is helpful.

from arangodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.