GithubHelp home page GithubHelp logo

waitForSync is unreachable about arangodb HOT 12 CLOSED

arangodb avatar arangodb commented on May 12, 2024
waitForSync is unreachable

from arangodb.

Comments (12)

jsteemann avatar jsteemann commented on May 12, 2024

The first part (waitForSync is not returned) is fixed now.

The second part (GET /_api/collection/collection-identifier/parameter returns error) does not look like a bug.
The API documentation does not mention GET /_api/collection/collection-identifier/parameter but only the PUT operation for it: https://github.com/triAGENS/AvocadoDB/wiki/HttpCollection#wiki-1HttpCollectionParameter

from arangodb.

jsteemann avatar jsteemann commented on May 12, 2024

Please check and give feedback.

from arangodb.

fceller avatar fceller commented on May 12, 2024

We could easily add a "GET .../parameter" call.

There is still a problem with the "GET /_api/collection/": I think - and we have to fix the documentation as well - that the wait for sync should only be returned for LOADED collections. Otherwise the call will automatically load the collection. Add least for "GET /_api/collection" that would be a disaster because it would load all collections.

from arangodb.

jsteemann avatar jsteemann commented on May 12, 2024

I think then the documentation should be fixed so waitForSync will not be returned.
My last commit should be reverted and we should add GET /_api/collection/parameter instead.

from arangodb.

fceller avatar fceller commented on May 12, 2024

That would be a better solution. We should also note in the documentation, that "GET" does not load the collection into memory, but ".../parameter" will do.

from arangodb.

jsteemann avatar jsteemann commented on May 12, 2024

I agree. Will roll it back and fix it.

from arangodb.

jsteemann avatar jsteemann commented on May 12, 2024

Fixed as follows:
Added GET /_api/collection/parameter API method
Added Wiki entry for this method
Removed the waitForSync entry from Wiki entry for GET /_api/collection/ as this call will never return the waitForSync parameter

from arangodb.

jsteemann avatar jsteemann commented on May 12, 2024

Please check and give feedback.

from arangodb.

fceller avatar fceller commented on May 12, 2024

Pushed the documentation to the wiki & avocadodb

from arangodb.

luebbert42 avatar luebbert42 commented on May 12, 2024

Max writes:

Nope, I can't build run avocado from devel branch
2012-04-07T18:57:50Z [27866] INFO HTTP client port: 127.0.0.1:8529
2012-04-07T18:57:50Z [27866] INFO HTTP admin port: 127.0.0.1:8530
2012-04-07T18:57:50Z [27866] INFO Have Fun!:
cannot load json utilities from file 'server/server.js'
cannot load json utilities from file 'server/server.js'
cannot load json utilities from file 'server/server.js'

But I've read the patch, it should work as expected. I've updated integration test for python driver. When it will be in mainstream branch?

from arangodb.

fceller avatar fceller commented on May 12, 2024

I'll try to create a new release Tomorrow.

from arangodb.

mklymyshyn avatar mklymyshyn commented on May 12, 2024

Looks like this particular issue is fixed. My tests are passed after brew uninstlal/install avocado --HEAD.

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.