Git Product home page Git Product logo

Comments (4)

geosoft1 avatar geosoft1 commented on August 17, 2024 2

I've done this and indeed solved the problem. Thank you for your help and for the quick answer.

from go-dqlite.

freeekanayaka avatar freeekanayaka commented on August 17, 2024

I couldn't reproduce this, at least with the demo application:

$ dqlite-demo -a 127.0.0.1:8001 -d 127.0.0.1:9001 &
[1] 99711
$ dqlite-demo -a 127.0.0.1:8002 -d 127.0.0.1:9002 -j 127.0.0.1:9001 &
[2] 99727
$ dqlite-demo -a 127.0.0.1:8003 -d 127.0.0.1:9003 -j 127.0.0.1:9001 &
[3] 99739
$ dqlite -s 127.0.0.1:9001,127.0.0.1:9002,127.0.0.1:9003 test
dqlite> CREATE TABLE test (id INT, s TEXT)
dqlite> INSERT INTO test VALUES (1, 'a')
dqlite> INSERT INTO test VALUES (2, 'b')
dqlite> SELECT * FROM test;
1|a
2|b

Do you have a more detailed list of steps to follow?

from go-dqlite.

geosoft1 avatar geosoft1 commented on August 17, 2024

Screenshot from 2020-06-08 17-06-50
Well, I ran exactly the test with default demo application and I obtained the same result. Dqlite is installed on Ubuntu 18.04 with:
Screenshot from 2020-06-08 18-04-44

But I don't have this problem from my applications, where I'm able to send insert commands to dqlite that works well.

from go-dqlite.

freeekanayaka avatar freeekanayaka commented on August 17, 2024

The dqlite shell is currently not included in the deb package in the stable archive, so I assume you have built the binary yourself with something go install -tags libsqlite3 ./cmd/dqlite.

Assuming that's the case, your clone of the go-dqlite git repo is probably behind master, since the bug you are seeing was fixed a few days ago by f90c4bc .

Please try to run go get -tags libsqlite3 -u github.com/canonical/go-dqlite, then rebuild the shell binary. That should fix the issue.

from go-dqlite.

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.