Giter Club home page Giter Club logo

Comments (11)

quinchs avatar quinchs commented on May 27, 2024

Can you share the query/schema so I can try to reproduce?

from edgedb-java.

quinchs avatar quinchs commented on May 27, 2024

And what version of EdgeDB and Java driver are you using?

from edgedb-java.

petersamokhin avatar petersamokhin commented on May 27, 2024

@quinchs query and schema is too large and works with other clients etc. Can't share it anyway, sorry.
But looks like I managed to reproduce when the query is stuck and when not: without starting a Transaction, it works (i.e. fails with an error), but is stuck otherwise (i.e. never returns the result from the completable future)

from edgedb-java.

quinchs avatar quinchs commented on May 27, 2024

So it only occurs when you run a query in a transaction?

from edgedb-java.

petersamokhin avatar petersamokhin commented on May 27, 2024

it seems to be unreliable, some underlying issue happens more frequently when running in a transaction but without it, happens too. Can’t check where it happens, no debug or other info. I gave up wasting time on this, sorry πŸ₯²

from edgedb-java.

quinchs avatar quinchs commented on May 27, 2024

I'm sorry you were stuck with this. I'd like to help resolve this bug but I need at least the versions you were using to get started on trying to reproduce.

from edgedb-java.

petersamokhin avatar petersamokhin commented on May 27, 2024

@quinchs the latest ones that are available: 3.4 server (in docker), latest cli, latest java driver. Using a product on the early stage I ensure having the latest version πŸ™‚

from edgedb-java.

petersamokhin avatar petersamokhin commented on May 27, 2024

@quinchs as a last try, I did not execute a transaction but without a transaction the issue was still reproducible. Did not try anymore, just FYI

from edgedb-java.

quinchs avatar quinchs commented on May 27, 2024

What methods were you using to query? and were you using any 3rd party async frameworks?

from edgedb-java.

petersamokhin avatar petersamokhin commented on May 27, 2024

@quinchs any methods, but mostly just "query". No third party libs, sparkjava -> db.query().toCompletableFuture().get()

from edgedb-java.

quinchs avatar quinchs commented on May 27, 2024

I've push a fix which might be tied to this issue in 6e52959

If you could test it out with the snapshot jar and let me know if it still occurs:

// build.gradle
repositories {
  maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
}

dependencies {
  implementation 'com.edgedb:driver:0.2.3-SNAPSHOT'
}

from edgedb-java.

Related Issues (8)

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.